<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I am really struggling trying to get user space tracing working predictably and consistently and would appreciate some help.</p>
<p><br>
</p>
<p>I created a trace event called </p>
<p>kvm_server:new_connection_tracepoint (see attached), I then use lttng-gen-tp to generate the .c and .h files which I link to the program and call with
</p>
<p>tracepoint(kvm_server, new_connection_tracepoint, .................)</p>
<p>This appears predictably in my traces</p>
<p>However if I call my second tracepoint (see attached)<br>
</p>
<p>tracepoint(resolution_management, resolution_management_tracepoint,.......)</p>
<p>It never appears in any of the traces</p>
<p>I can see no significant difference between the two definitions.</p>
<p><br>
</p>
<p>I then created a third trace definition called simple_example (see attached)<br>
</p>
<p>tracepoint(simple_example, simple_example_tracepoint, .....)</p>
<p>This again appears in the trace</p>
<p><br>
</p>
<p>I start the tracing using </p>
<p>lttng enable-event -u -a      # enable user-space tracing</p>
<p>I then use babel trace to dump the trace, </p>
<p><br>
</p>
<p>'kvm_server' and 'simple_example' appear in the trace,  resolution_management does not.</p>
<p><br>
</p>
<p><br>
</p>
<p>Any idea why the resolution_management tracepoint does not appear in any traces or is there some way of debugging the tracecall macro itself?<br>
</p>
<p><br>
</p>
<p>regards</p>
<p>John<br>
</p>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This email and any files transmitted with it are confidential and are intended for the sole use of the individual to whom they are addressed. Black Box Corporation reserves the right to scan all e-mail traffic for restricted content and to monitor all e-mail
 in general. If you are not the intended recipient or you have received this email in error, any use, dissemination or forwarding of this email is strictly prohibited. If you have received this email in error, please notify the sender by replying to this email.<br>
</font>
</body>
</html>