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: utrace syscall arguments


Masami Hiramatsu wrote:
> Roland McGrath wrote:
>>> This frame will be used when calling syscall handlers,
>>> and it will be saved in cr_ifs.
>>> So, I guess it is possible that we can check the system
>>> call is syscall or not by checking cr_ifs.
>> Now you are speaking ia64 and I am lost!  Ok, I guess I understand it a
>> little better than if you'd answered in Japanese, but not that much
>> better. ;-)
> 
> Sure, that's ia64 local language:-)
> 
>> It sounds like you might have a fix to suggest to the upstream ia64
>> maintainers to use in arch/ia64/kernel/ptrace.c:syscall_get_set_args_cb.
> 
> I think we need to fix syscall_get_set_args_cb too.
> I'll check that we can fix this issue by using cr_ifs.

Since strace handles syscall() correctly, you might be able to steal
some logic from it.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


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