This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tapset for probing IRQs, workqueues, etc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]