update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 10 Jul 2008 15:29:43 +0000 (15:29 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 10 Jul 2008 15:29:43 +0000 (15:29 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2948 04897980-b3bd-0310-b5e0-8ef037075253

markers-userspace/kernel-api.h
markers-userspace/marker-lib.c

index f972fe18a6123c99afd3b5458a5c2eb07fa3c48d..4c0a13608e086dde7eb00e59dad98e6c26439baf 100644 (file)
@@ -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" */
index b2165b8b7ac542a86f4da1399a1be0c0a6bda1b1..14d2466d4c8904a86791f13ba6e3c633493f6164 100644 (file)
@@ -2,6 +2,7 @@
 #include "marker.h"
 #include <stdio.h>
 #include <errno.h>
+#include <sys/user.h>
 
 __attribute__ ((visibility ("protected")))
 extern struct marker __start___markers[];
This page took 0.026451 seconds and 4 git commands to generate.