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: 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> 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


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