public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/12748] New: need syscall-number database in tapset
@ 2011-05-10 21:02 fche at redhat dot com
  2016-06-09 15:26 ` [Bug tapsets/12748] " mcermak at redhat dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fche at redhat dot com @ 2011-05-10 21:02 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=12748

           Summary: need syscall-number database in tapset
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com


For use by process().syscall and kernel.trace("sys_{enter,exit}"),
scripts need to know the syscall numbering conventions for the
current process.  A tapset should give it to them, perhaps in
the form:

global __syscall_32_num2name[400]
global __syscall_32_name2num[400]
global __syscall_64_num2name[400]
global __syscall_64_name2num[400]

probe begin { 
  .... initialize based on %( arch ... %)
}

function syscall_num(name) {
  return (current_is32bit() ? __syscall_32[name] : __syscall_64[name])
}
function syscall_name(num) { 
  ....
}

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-06-28 12:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-10 21:02 [Bug tapsets/12748] New: need syscall-number database in tapset fche at redhat dot com
2016-06-09 15:26 ` [Bug tapsets/12748] " mcermak at redhat dot com
2016-06-20 15:26 ` mcermak at redhat dot com
2016-06-20 15:31 ` mcermak at redhat dot com
2016-06-20 18:07 ` dsmith at redhat dot com
2016-06-20 18:22 ` dsmith at redhat dot com
2016-06-20 18:25 ` dsmith at redhat dot com
2016-06-21  8:42 ` mcermak at redhat dot com
2016-06-21 18:41 ` dsmith at redhat dot com
2016-06-23 14:53 ` mcermak at redhat dot com
2016-06-23 15:02 ` dsmith at redhat dot com
2016-06-24 13:11 ` mcermak at redhat dot com
2016-06-24 15:40 ` mcermak at redhat dot com
2016-06-28 12:30 ` mcermak at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).