This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: get the mapping of <key, syscallname>
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Li Guanglei <guanglei at cn dot ibm dot com>
- Cc: systemtap at sourceware dot org
- Date: 12 May 2006 11:07:32 -0400
- Subject: Re: get the mapping of <key, syscallname>
- References: <44629BC3.7030505@cn.ibm.com>
Li Guanglei <guanglei@cn.ibm.com> writes:
> One of my tapsets will log the syscall name got from
> CONTEXT->probe_point. [...]
Why not use the "name" variable set by the syscalls tapset?
> [...] I want to log the key of syscall name, and later the
> post-processing app in user space will figure out the syscall name
> represented by corresponding keys. [...]
As does Martin, I wonder if this is a good place to spend your
optimization energies. Anyway, one possibility is to have the
syscalls tapset also define a system call number variable.
- FChE