From: compudj Date: Mon, 12 Jun 2006 16:40:53 +0000 (+0000) Subject: thread brand java X-Git-Tag: v0.12.20~1566 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=75351ff4629638c345ead9cccd5bdbdd5227f1f5;p=lttv.git thread brand java git-svn-id: http://ltt.polymtl.ca/svn@1923 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt-usertrace/sample-thread-brand.c b/ltt-usertrace/sample-thread-brand.c new file mode 100644 index 00000000..12aa11e6 --- /dev/null +++ b/ltt-usertrace/sample-thread-brand.c @@ -0,0 +1,19 @@ + +#include +#include + +#define LTT_TRACE +#define LTT_BLOCKING 1 +#include + + +int main(int argc, char **argv) +{ + printf("Will create a branded thread\n"); + trace_user_generic_thread_brand("Sample_brand"); + + sleep(2); + + return 0; +} +