initial usertrace syscall and signal
[lttv.git] / usertrace / lttng_usertrace.h
CommitLineData
b8b00688 1
2/* LTTng user-space tracing header
3 *
4 * Copyright 2006 Mathieu Desnoyers
5 *
6 */
7
8#ifndef _LTTNG_USERTRACE_H
9#define _LTTNG_USERTRACE_H
10
11#include <errno.h>
12#include <syscall.h>
13
14//Put in asm-i486/unistd.h
15#define __NR_ltt_update 294
16#define __NR_ltt_switch 295
17
18#undef NR_syscalls
19#define NR_syscalls 296
20
21#ifndef _LIBC
22// Put in bits/syscall.h
23#define SYS_ltt_update __NR_ltt_update
24#define SYS_ltt_switch __NR_ltt_switch
25#endif
26
27void __lttng_sig_trace_handler(int signo);
28
29static inline _syscall3(int, ltt_update, unsigned long, addr, int *, active, int *, filter)
30
31#endif //_LTTNG_USERTRACE_H
This page took 0.023834 seconds and 4 git commands to generate.