<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr">Hi,<div><br></div><div>I am having a situation where the same tracepoint should be used with multiple loglevels. </div><div><br></div><div>Say for example, I have a tracepoint called HERE which prints the string "I am here". Consider the following code.</div><div><br></div><div>int *a = (int *)malloc(10);</div><div>if(a) {</div><div>   tracepoint(HERE); // This can be INFO log level</div><div>}</div><div>else {</div><div>   // Malloc failed</div><div>   tracepoint(HERE); // This is critical and needs CRIT log level.</div><div>}</div><div><br></div><div>I am trying not to define multiple tracepoints just for this case. Can we do this with LTTng?</div></div></blockquote><div><br></div><div>No, this is not supported.<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Mathieu<br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div><br></div><div>-- Chid</div></div><br>_______________________________________________<br>lttng-dev mailing list<br>lttng-dev@lists.lttng.org<br>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev<br></blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com<span name="x"></span><br></div></div></body></html>