projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: compile liblttng-ctl as C++
[lttng-tools.git]
/
tests
/
regression
/
ust
/
getcpu-override
/
lttng-ust-getcpu-override-test.c
diff --git
a/tests/regression/ust/getcpu-override/lttng-ust-getcpu-override-test.c
b/tests/regression/ust/getcpu-override/lttng-ust-getcpu-override-test.c
index f1b70742591322cc8c50e021c52779bd89952a72..dbe6c1d86283adf7c3cc1ef4f6780eb81696e54e 100644
(file)
--- a/
tests/regression/ust/getcpu-override/lttng-ust-getcpu-override-test.c
+++ b/
tests/regression/ust/getcpu-override/lttng-ust-getcpu-override-test.c
@@
-14,10
+14,12
@@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
+#include <lttng/lttng-export.h>
#include <lttng/ust-getcpu.h>
static long nprocessors;
#include <lttng/ust-getcpu.h>
static long nprocessors;
+static
int plugin_getcpu(void)
{
/* Generate a sequence based on the number of configurated processor
int plugin_getcpu(void)
{
/* Generate a sequence based on the number of configurated processor
@@
-57,6
+59,7
@@
int plugin_getcpu(void)
return ret;
}
return ret;
}
+LTTNG_EXPORT void lttng_ust_getcpu_plugin_init(void);
void lttng_ust_getcpu_plugin_init(void)
{
int ret;
void lttng_ust_getcpu_plugin_init(void)
{
int ret;
This page took
0.025789 seconds
and
4
git commands to generate.