[lttng-dev] Multiple log level for SAME tracepoints
chid1989 at gmail.com
Wed Apr 29 14:37:28 EDT 2015
I am having a situation where the same tracepoint should be used with
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);
tracepoint(HERE); // This can be INFO log level
// 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lttng-dev