X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-syscall-events-callstack%2Fgen-syscall-events-callstack.c;h=5ad362f3b374caccb5b765117fedd3ff6bb1b132;hp=26c10c83f13978cde49f96a30e74d74bfd434e72;hb=701a99d1cf638273320db3ce52cf52816129d95a;hpb=d04ee1a09b04951ccecfda368b0660bf79977d83;ds=sidebyside diff --git a/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c b/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c index 26c10c83f..5ad362f3b 100644 --- a/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c +++ b/tests/utils/testapp/gen-syscall-events-callstack/gen-syscall-events-callstack.c @@ -42,6 +42,7 @@ volatile int val = 0; +long nooptimization my_gettid(void); long nooptimization my_gettid(void) { @@ -68,12 +69,14 @@ my_gettid(void) return ret; } +int nooptimization fct_c(void); int nooptimization fct_c(void) { return my_gettid(); } +int nooptimization fct_b(void); int nooptimization fct_b(void) { @@ -81,6 +84,7 @@ fct_b(void) return val; } +int nooptimization fct_a(void); int nooptimization fct_a(void) {