Tapset for probing IRQs, workqueues, etc

Josh Stone jistone@redhat.com
Mon Oct 26 21:15:00 GMT 2009


Hi Prerna,

On 10/23/2009 10:36 AM, Prerna Saxena wrote:
> +	work = $work
> +	work_func = @cast(work, "work_struct", "kernel")->func

Why do you need @cast in this tapset?  It should work just fine to say
"work_funk = $work->func".  Apart from brevity, this is also better for
not requiring the kernel debuginfo packages.

Josh



More information about the Systemtap mailing list