static __thread unsigned int test_count;
+static
void test_inc_count(void)
{
test_count++;
}
}
+static char myprovider_name[] = "$app.myprovider";
struct lttng_ust_context_provider myprovider = {
.struct_size = sizeof(struct lttng_ust_context_provider),
- .name = "$app.myprovider",
+ .name = myprovider_name,
.get_size = test_get_size,
.record = test_record,
.get_value = test_get_value,
};
+static
void inthandler(int sig)
{
printf("in SIGUSR1 handler\n");
tracepoint(ust_tests_hello, tptest_sighandler);
}
+static
int init_int_handler(void)
{
int result;
return 0;
}
-void test_inc_count(void);
-
int main(int argc, char **argv)
{
int i, netint;