This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Tapset for probing IRQs, workqueues, etc
- From: Josh Stone <jistone at redhat dot com>
- To: Prerna Saxena <prerna at linux dot vnet dot ibm dot com>
- Cc: systemtap at sourceware dot org
- Date: Mon, 26 Oct 2009 14:15:01 -0700
- Subject: Re: Tapset for probing IRQs, workqueues, etc
- References: <4AE1E981.9050002@linux.vnet.ibm.com>
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