2 /* LTTng user-space tracing header
4 * Copyright 2006 Mathieu Desnoyers
8 #ifndef _LTTNG_USERTRACE_H
9 #define _LTTNG_USERTRACE_H
14 //Put in asm-i486/unistd.h
15 #define __NR_ltt_update 294
16 #define __NR_ltt_switch 295
19 #define NR_syscalls 296
22 // Put in bits/syscall.h
23 #define SYS_ltt_update __NR_ltt_update
24 #define SYS_ltt_switch __NR_ltt_switch
27 void __lttng_sig_trace_handler(int signo
);
29 /* Call this at the beginning of a new thread, except for the main() */
30 void lttng_thread_init(void);
32 static inline _syscall1(int, ltt_switch
, unsigned long, addr
)
33 static inline _syscall3(int, ltt_update
, unsigned long, addr
, int *, active
, int *, filter
)
35 #endif //_LTTNG_USERTRACE_H
This page took 0.033848 seconds and 4 git commands to generate.