add an option, let the systemtap doesn't check whether the probe point is at the start of an assembly instruction

Frank Ch. Eigler fche@redhat.com
Mon Jul 16 15:33:00 GMT 2012


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