get the mapping of <key, syscallname>

Frank Ch. Eigler fche@redhat.com
Fri May 12 15:08:00 GMT 2006


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



More information about the Systemtap mailing list