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: [PATCH -tip 3/4 V3] tracing: kprobe-tracer plugin supports arguments


Frederic Weisbecker wrote:
>>> Anyway both would be handy:
>>>
>>> rp: current ip
>>> ra: return address
>> current ip can be fetched by 'r12' on i386 ('r16' on x86-64).
>> (hmm, we'd better support %ip, %ax, etc.)
>>
> 
> 
> Yes, as an example, I'm currently unable to tell you
> which number is esi :)

Agreed. But I doubt that we can implement it before moving
fetch_* APIs into arch/ directory, can we?


Thank you,

-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com


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