<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Evan,</p>
    <div class="moz-cite-prefix">On 8/1/21 5:11 AM, Evan Galea via
      lttng-dev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAA+-46pQev9-S0_htpu7QT8cVF_Rv25deDjRQGMzgnzvRMG9VQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">Hi there</div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px"><br>
        </div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">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 style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px"><br>
        </div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">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 style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px"><br>
        </div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">
          <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"
cite="mid:CAA+-46pQev9-S0_htpu7QT8cVF_Rv25deDjRQGMzgnzvRMG9VQ@mail.gmail.com">
      <div dir="ltr">
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">
          <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 style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px"><br>
        </div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">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 style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px"><br>
        </div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">again thank you for
          your time</div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px"><br>
        </div>
        <div style="box-sizing:border-box;font-family:"Segoe
          UI",system-ui,"Apple Color Emoji","Segoe
          UI Emoji",sans-serif;font-size:14px">Evan Galea</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
lttng-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a>
<a class="moz-txt-link-freetext" href="https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev">https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a>
</pre>
    </blockquote>
  </body>
</html>