From mboxrd@z Thu Jan 1 00:00:00 1970 From: chid1989@gmail.com (Chidhu R) Date: Wed, 29 Apr 2015 11:37:28 -0700 Subject: [lttng-dev] Multiple log level for SAME tracepoints Message-ID: Hi, I am having a situation where the same tracepoint should be used with multiple loglevels. Say for example, I have a tracepoint called HERE which prints the string "I am here". Consider the following code. int *a = (int *)malloc(10); if(a) { tracepoint(HERE); // This can be INFO log level } else { // Malloc failed tracepoint(HERE); // This is critical and needs CRIT log level. } I am trying not to define multiple tracepoints just for this case. Can we do this with LTTng? -- Chid -------------- next part -------------- An HTML attachment was scrubbed... URL: