add an option, let the systemtap doesn't check whether the probe point is at the start of an assembly instruction
peng yu
yupeng0921@gmail.com
Mon Jul 16 15:48:00 GMT 2012
Thanks, it work!
On Mon, Jul 16, 2012 at 11:33 PM, Frank Ch. Eigler <fche@redhat.com> wrote:
> peng yu <yupeng0921@gmail.com> writes:
>
>> [...]
>> But sometimes, I really
>> need to probe an address which is not at the start of a statement. [...]
>> [...] I think it is useful if the stap command can accept a
>> new cmdline option, let it don't do the address valid check. So such
>> systemtap script can work: "probe kernel.statement(0xc041df99)".
>
> Thanks for the patch. But before we dig into that further, have you
> tried
>
> # stap -g 'probe kernel.statement(0xc041df99).absolute {}'
>
> ?
>
> - FChE
More information about the Systemtap
mailing list