From: compudj Date: Thu, 10 Jul 2008 15:29:43 +0000 (+0000) Subject: update X-Git-Tag: v0.12.20~541 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=37fac84780eaf9facca7c43eb2fdee1727a225f4;p=lttv.git update git-svn-id: http://ltt.polymtl.ca/svn@2948 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/markers-userspace/kernel-api.h b/markers-userspace/kernel-api.h index f972fe18..4c0a1360 100644 --- a/markers-userspace/kernel-api.h +++ b/markers-userspace/kernel-api.h @@ -37,10 +37,11 @@ extern "C" { */ #define _imv_read(name) (name##__imv) -#define __NR_marker 328 -#define __NR_trace 329 +#define __NR_marker 327 +#define __NR_trace 328 #define sys_marker(...) syscall(__NR_marker, __VA_ARGS__) +#define sys_trace(...) syscall(__NR_trace, __VA_ARGS__) #ifdef __cplusplus } /* end of extern "C" */ diff --git a/markers-userspace/marker-lib.c b/markers-userspace/marker-lib.c index b2165b8b..14d2466d 100644 --- a/markers-userspace/marker-lib.c +++ b/markers-userspace/marker-lib.c @@ -2,6 +2,7 @@ #include "marker.h" #include #include +#include __attribute__ ((visibility ("protected"))) extern struct marker __start___markers[];