From: compudj Date: Wed, 8 Mar 2006 17:37:16 +0000 (+0000) Subject: traced_tid with gettid X-Git-Tag: v0.12.20~1871 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=46903a9a8b886720a953a73640002b67272e02de;p=lttv.git traced_tid with gettid git-svn-id: http://ltt.polymtl.ca/svn@1618 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/usertrace-fast/ltt-usertrace-fast.c b/usertrace-fast/ltt-usertrace-fast.c index aaa571c5..b56e3b52 100644 --- a/usertrace-fast/ltt-usertrace-fast.c +++ b/usertrace-fast/ltt-usertrace-fast.c @@ -420,7 +420,7 @@ static void ltt_usertrace_fast_daemon(struct ltt_trace_info *shared_trace_info, exit(-1); } snprintf(identifier_name, PATH_MAX-1, "%lu.%lu.%llu", - traced_pid, traced_tid, get_cycles()); + traced_tid, traced_pid, get_cycles()); snprintf(outfile_name, PATH_MAX-1, "facilities-%s", identifier_name); fd_fac = creat(outfile_name, 0644);