I doscussed this with Eric, just wanted to have some online record. 

    Li> DTRACE_PROBE2(cpu_change_speed, processorid_t, cpudsp->cpu_id,
    Li>         uint_t, new_spd->speed);
    Li> DTRACE_PROBE2(cpu_change_speed, processorid_t, cpudsp->cpu_id,
    Li>         uint_t, new_spd->speed);

In generl it is not a good idea to dereference pointers in DTRACE SDT
probes since this will increase disabled probe effect. It is better to
provide raw pointers (preferably available on the stack already) and
then have translators defined that will defer pointer dereference to
the time when the probe is enabled. 

- akolb

Reply via email to