<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Evan,</p>
<p>It turns out it's a Babeltrace 2 bug. Here the fix:
<a class="moz-txt-link-freetext" href="https://review.lttng.org/c/babeltrace/+/6257">https://review.lttng.org/c/babeltrace/+/6257</a>.</p>
<p>It should be merged into the master and stable-2.0 branches soon.</p>
<p><br>
</p>
<p>Thank you for reporting the issue,</p>
<p>Francis<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 8/4/21 3:55 AM, Evan Galea wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAA+-46qpk52j9B56wpvsJ=WvE-TX_83r+A6o7hqTxGeTLLS8cQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Francis, thanks for your reply. As it turns out,
running babeltrace on the file worked and I'm able to read the
traces. I am running babeltrace 1.5.8, lttng 2.12.4, lttng-tools
2.12.x stable, and lttng modules 5.8.0-63. I attached the trace
of the file.<br>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Aug 2, 2021 at 8:56 AM
Francis Deslauriers <<a
href="mailto:francis.deslauriers@efficios.com"
target="_blank" moz-do-not-send="true">francis.deslauriers@efficios.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi Evan,</p>
<div>On 8/1/21 5:11 AM, Evan Galea via lttng-dev wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi there</div>
<div><br>
</div>
<div>Thanks for help on my previous issue. I was able to
get callstack-user to work and see it in my traces.
However, in order to get it to run I needed to
enable-event --kernel all. Is it necessary to have all
kernel events enabled to run callstack-user? Or is it
just one specific event?</div>
<div><br>
</div>
<div>When I try to run it without enabling all kernel
events the command is accepted and it runs but I get
the following error when trying to view my traces:</div>
<div><br>
</div>
<div>
<div style="box-sizing:border-box"> (╯°□°)╯︵ ┻━┻
ctf-meta-update-value-storing-indexes.c:65:
update_field_class_stored_value_index(): Assertion
`tgt_fc` failed.<br>
Aborted (core dumped)</div>
<div style="box-sizing:border-box"><br>
</div>
<div style="box-sizing:border-box">What does this
error mean? Should I just continue to enable all
kernel events?</div>
</div>
</div>
</blockquote>
<p>It's a Babeltrace 2 error. Now, we need to find out if
the root cause is the LTTng kernel tracer or Babeltrace2
itself.</p>
<p>What is the "one specific event" you're enabling that
seems to cause this issue?<br>
</p>
<p>Do you have access to a Babeltrace 1.5 build? if so,
could you try to read that same trace using it?</p>
<p>Could you please share a small trace reproducing this
issue?</p>
<p>What version of LTTng-tools, LTTng-Modules, and
Babeltrace2 are you using?</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Francis<br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div>
<div style="box-sizing:border-box"><br>
</div>
<div style="box-sizing:border-box">My current command
setup, not sure if relevant</div>
</div>
<div><br>
</div>
<div>lttng create &&<br>
lttng enable-channel mychannel --subbuf-size 100000000<br>
lttng enable-event --kernel --all &&<br>
lttng add-context -u -t vpid -t vtid -t procname
&&<br>
lttng add-context --kernel --type callstack-user
&&<br>
lttng add-context --kernel --type callstack-kernel
&&<br>
lttng enable-event --jul jello</div>
<div><br>
</div>
<div>again thank you for your time</div>
<div><br>
</div>
<div>Evan Galea</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
lttng-dev mailing list
<a href="mailto:lttng-dev@lists.lttng.org" target="_blank" moz-do-not-send="true">lttng-dev@lists.lttng.org</a>
<a href="https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank" moz-do-not-send="true">https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a>
</pre>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>