X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=hello%2Fhello.c;h=ee7992b00d006aa9d264a634b268b30680a55d52;hb=c463904d75d0711fe6380ef0cda4ed07e6f7f969;hp=d6750d061d349dee41628d3c671aef6d6389708f;hpb=98963de4a2dfae12d8aafa0f9a6d97cf4a44e12d;p=ust.git diff --git a/hello/hello.c b/hello/hello.c index d6750d0..ee7992b 100644 --- a/hello/hello.c +++ b/hello/hello.c @@ -204,6 +204,11 @@ int main() printf("page size is %d\n", sysconf(_SC_PAGE_SIZE)); +// extern struct marker __start___markers[] __attribute__((visibility("hidden"))); +// extern struct marker __stop___markers[] __attribute__((visibility("hidden"))); +// +// printf("the executable's markers start at %lx and end at %lx, the size of a marker is %d\n", __start___markers, __stop___markers, sizeof(struct marker)); + marker_control_init(); //marker_probe_register("abc", "testmark", "", probe, NULL); @@ -268,3 +273,5 @@ int main() return 0; } + +MARKER_LIB