public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/17413] New: missing timer_create syscall in 32-on-64 mode
@ 2014-09-19 10:31 mcermak at redhat dot com
  2014-09-19 20:16 ` [Bug runtime/17413] " mcermak at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mcermak at redhat dot com @ 2014-09-19 10:31 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=17413

            Bug ID: 17413
           Summary: missing timer_create syscall in 32-on-64 mode
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com

Systemtap is missing timer_create syscall in 32-on-64 mode:

 7.0 S x86_64 # cat test.c
#include <sys/time.h>
#include <string.h>
#include <signal.h>
#include <time.h>
#include <sys/syscall.h>
#include <stdio.h>

int main()
{
    timer_t tid=0;
    syscall(__NR_timer_create, CLOCK_REALTIME, -1, &tid);
    return 0;
}

 7.0 S x86_64 # gcc -m32  -g test.c 
 7.0 S x86_64 # strace ./a.out |& grep timer
timer_create(CLOCK_REALTIME, {...}, 0xfffbb4fc) = -1 EFAULT (Bad address)
 7.0 S x86_64 # stap -e 'probe syscall.* { println(name) } ' -c ./a.out |& grep
timer
 7.0 S x86_64 # 
 7.0 S x86_64 # gcc -m64  -g test.c
 7.0 S x86_64 # strace ./a.out |& grep timer
timer_create(CLOCK_REALTIME, {...}, 0x7fff24a03ab8) = -1 EFAULT (Bad address)
 7.0 S x86_64 # stap -e 'probe syscall.* { println(name) } ' -c ./a.out |& grep
timer
timer_create
 7.0 S x86_64 #

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug runtime/17413] missing timer_create syscall in 32-on-64 mode
  2014-09-19 10:31 [Bug runtime/17413] New: missing timer_create syscall in 32-on-64 mode mcermak at redhat dot com
@ 2014-09-19 20:16 ` mcermak at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mcermak at redhat dot com @ 2014-09-19 20:16 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=17413

Martin Cermak <mcermak at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|systemtap at sourceware dot org    |mcermak at redhat dot com

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

end of thread, other threads:[~2014-09-19 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-19 10:31 [Bug runtime/17413] New: missing timer_create syscall in 32-on-64 mode mcermak at redhat dot com
2014-09-19 20:16 ` [Bug runtime/17413] " 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).