From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ja0xMnvrB2GFSAAAWB0awg (envelope-from ) for ; Mon, 02 Aug 2021 08:56:27 -0400 Received: by simark.ca (Postfix, from userid 112) id BCBC41EDFB; Mon, 2 Aug 2021 08:56:27 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E994D1E4A3 for ; Mon, 2 Aug 2021 08:56:26 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4GddL21vRTz5nN; Mon, 2 Aug 2021 08:56:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1627908986; bh=66pwL2D25NlX+IpZJHMTlctl8aSAmqAw2AGaRbnNxW0=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=h5HpSFMNXOGx9XaULezFz42oGDPoq+5Q0hFN4LcT0o0tSlJLuFuJkR39Ugz5AKtUT 7SJbkOaFfXhhdaKM3jsKo6/TUOMpeG7GELc29oCkuMWnnEUo2zcAfIjkSc/fdfNZo2 +CXHb0G9fis0XEwnIWKz/Lk4fqhXjHnuKM5hO5JyTDvVta6OFArWMwTyAjZR4nGs5Q DYcgTW/lzLrxZ1XUuiCOa3N+JGmgusec1E4TXF18UAROtWJKdHD/Z72ukyd9kUK6gZ 05XW2EZ/9v3TXece1KVMYErGUv25OKlP/RX5wHs0SYZXWrEQtv/YJ3z0EIkaRMW9Ul o0FXH23SP3WmQ== Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lists.lttng.org (Postfix) with ESMTPS id 4GddL131C2z5nM for ; Mon, 2 Aug 2021 08:56:25 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id C935A35639E for ; Mon, 2 Aug 2021 08:56:19 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id YQ-BC93w4-FJ; Mon, 2 Aug 2021 08:56:19 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 4D5863564A8; Mon, 2 Aug 2021 08:56:19 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 4D5863564A8 X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id k_LUJmBJZALV; Mon, 2 Aug 2021 08:56:19 -0400 (EDT) Received: from [192.168.1.70] (unknown [142.59.56.168]) by mail.efficios.com (Postfix) with ESMTPSA id 19A3D35650A; Mon, 2 Aug 2021 08:56:19 -0400 (EDT) To: Evan Galea , lttng-dev@lists.lttng.org References: Message-ID: <535d4d75-5ae6-b44a-9570-41a00ec96680@efficios.com> Date: Mon, 2 Aug 2021 08:56:17 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Subject: Re: [lttng-dev] Assertion tgt_fc failed when trying to trace callstack-user X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Francis Deslauriers via lttng-dev Reply-To: Francis Deslauriers Content-Type: multipart/mixed; boundary="===============4319493384225857046==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" This is a multi-part message in MIME format. --===============4319493384225857046== Content-Type: multipart/alternative; boundary="------------2237A5D4F3235A18C466102E" Content-Language: en-US This is a multi-part message in MIME format. --------------2237A5D4F3235A18C466102E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Evan, On 8/1/21 5:11 AM, Evan Galea via lttng-dev wrote: > Hi there > > Thanks for help on my previous issue. I was able to get=20 > callstack-user=C2=A0to work and see it in my traces. However, in order = to=20 > get it to run I needed to enable-event --kernel all. Is it necessary=20 > to have all kernel events enabled to run callstack-user? Or is it just=20 > one specific event? > > When I try to run it without enabling all kernel events the command is=20 > accepted and it runs but I get the following error when trying to view=20 > my traces: > > =C2=A0(=E2=95=AF=C2=B0=E2=96=A1=C2=B0)=E2=95=AF=EF=B8=B5 =E2=94=BB=E2=94= =81=E2=94=BB ctf-meta-update-value-storing-indexes.c:65:=20 > update_field_class_stored_value_index(): Assertion `tgt_fc` failed. > Aborted (core dumped) > > What does this error mean? Should I just continue to enable all kernel=20 > events? It's a Babeltrace 2 error. Now, we need to find out if the root cause is=20 the LTTng kernel tracer or Babeltrace2 itself. What is the "one specific event" you're enabling that seems to cause=20 this issue? Do you have access to a Babeltrace 1.5 build? if so, could you try to=20 read that same trace using it? Could you please share a small trace reproducing this issue? What version of LTTng-tools, LTTng-Modules, and Babeltrace2 are you using= ? Cheers, Francis > > My current command setup, not sure if relevant > > lttng create && > lttng enable-channel mychannel --subbuf-size 100000000 > lttng enable-event --kernel --all && > lttng add-context -u -t vpid -t vtid -t procname && > lttng add-context --kernel --type callstack-user && > lttng add-context --kernel --type callstack-kernel && > lttng enable-event --jul jello > > again thank you for your time > > Evan Galea > > _______________________________________________ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --------------2237A5D4F3235A18C466102E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi Evan,

On 8/1/21 5:11 AM, Evan Galea via lttng-dev wrote:
Hi there

Thanks for help on my previous issue. I was able to get callstack-user=C2=A0to wor= k 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?

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:

=C2=A0(=E2=95=AF=C2=B0=E2=96= =A1=C2=B0)=E2=95=AF=EF=B8=B5 =E2=94=BB=E2=94=81=E2=94=BB ctf-meta-update-value-storing-indexes.c:65: update_field_class_stored_value_index(): Assertion `tgt_fc` failed.
Aborted (core dumped)

What does this error mean? Should I just continue to enable all kernel events?

It's a Babeltrace 2 error. Now, we need to find out if the root cause is the LTTng kernel tracer or Babeltrace2 itself.

What is the "one specific event" you're enabling that seems to cause this issue?

Do you have access to a Babeltrace 1.5 build? if so, could you try to read that same trace using it?

Could you please share a small trace reproducing this issue?

What version of LTTng-tools, LTTng-Modules, and Babeltrace2 are you using?


Cheers,

Francis


My current command setup, not sure if relevant

lttng create &&
lttng enable-channel mychannel --subbuf-size 100000000
lttng enable-event --kernel --all &&
lttng add-context -u -t vpid -t vtid -t procname &&
lttng add-context --kernel --type callstack-user &&
lttng add-context --kernel --type callstack-kernel && lttng enable-event --jul jello

again thank you for your time

Evan Galea

____________________________=
___________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/lis=
tinfo/lttng-dev
--------------2237A5D4F3235A18C466102E-- --===============4319493384225857046== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============4319493384225857046==--