From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mwbaJF/1bGAaXAAAWB0awg (envelope-from ) for ; Tue, 06 Apr 2021 19:57:19 -0400 Received: by simark.ca (Postfix, from userid 112) id 89AB41E939; Tue, 6 Apr 2021 19:57:19 -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)) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 04B211E590 for ; Tue, 6 Apr 2021 19:57:19 -0400 (EDT) Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4FFPb23NXcz13tF; Tue, 6 Apr 2021 19:57:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1617753438; bh=Tu4TcseLd/Ifofs/phvrYuoc2ypUkOcrXrKbeItQEjo=; h=References:In-Reply-To:Date:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=iD4MOPy6q6vQBlDqum6b1SWtX4CV1brw6vzyubsbINcvdy64YOQjuijwB2bhAqjOG QE8ck1UShW1iR4b68aEoceCSVYYSWQNioIBbjJX87UGzNSMSGgViKMIzLwsBlvkj95 3r2FeaXYTV7bJKMexx7Pbl2ex/ThLx3tZRaY1PJ3uMuReWYFgssGcUUK9HLHDkxyHa Pq2YC157uGCB7WzE6U7juEvZDXuUBs/+vXRuV2wwjzo6V95P3PJMOwt1Gt6NsY4fap gtNbb8ob4fugEy57jhxBnNXFjRjT1kPfW8QZwAPGIMWbH+YhfmexzCuhgABMgNgbfN uezWnil2D+eRg== Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lists.lttng.org (Postfix) with ESMTPS id 4FFPb20FWxz13tD for ; Tue, 6 Apr 2021 19:57:17 -0400 (EDT) Received: by mail-lj1-x229.google.com with SMTP id r20so18497236ljk.4 for ; Tue, 06 Apr 2021 16:57:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VAZUkXJQV5Rsw6EFwJPGDDvpzjNFYVxBX4ebcCV4kQE=; b=DYrc1gXYBIr9WMzESx1wTgr1V2tV3Vo1AEQvDKW9Vidr7HrQiUASwmgOS5qH/JLIef 55RS5JKBppQiA3TmzFa8dhz7idWy60JMCgi23g3ig35NMYc0FZ71FhzOSt3P2CEvLj75 rowSQkZOz3vO0ff3obI+uVg9ekV08KeMXfMNCXN+0eZfAEmhTwVi6FrHRnt+RG/C8DEL 0hcVFRWTs1qmQG08+UjfiR9AAoP2cduId9do5qgG/nzk3kBN07qGRv84a6ucTZnwJuh1 4RdyiBIIpOHhR/37eYGVBqFzCpHI3AZhIbcz3OvbOmgKnUQPHNZ8CnHVH1E4i4flKQD3 ZcSQ== X-Gm-Message-State: AOAM531KIPRwAleQmhUM+odqHWnAge4jep8HEUfM0RiWwJ9DoxLZ0CBu x/OD+GykPG53RnN+UNm8LYsaQ/8cJoRA4TkRTu4= X-Google-Smtp-Source: ABdhPJxhhzIKgE7MlLpz7W4tZI/QuEzXAQUXywK0KkDi/P209lL2hOD3cGiG8D4fAhSzK+OR0fF0uWjn5oqH4FVMvzc= X-Received: by 2002:a2e:7d03:: with SMTP id y3mr365115ljc.0.1617753436241; Tue, 06 Apr 2021 16:57:16 -0700 (PDT) MIME-Version: 1.0 References: <20210406131139.GC79283@joraj-alpa> <20210406234621.GA913141@joraj-alpa> In-Reply-To: <20210406234621.GA913141@joraj-alpa> Date: Tue, 6 Apr 2021 18:56:39 -0500 Message-ID: To: Jonathan Rajotte-Julien Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] lttng-dev Digest, Vol 156, Issue 3 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: Ramesh Errabolu via lttng-dev Reply-To: Ramesh Errabolu Content-Type: multipart/mixed; boundary="===============1441265547090580428==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============1441265547090580428== Content-Type: multipart/alternative; boundary="000000000000e6c25c05bf569233" --000000000000e6c25c05bf569233 Content-Type: text/plain; charset="UTF-8" Will try the dummy app to check if the basic setup is good. Wondering if being able to trace shared libraries is something not supported. Regards, Ramesh On Tue, Apr 6, 2021 at 6:46 PM Jonathan Rajotte-Julien < jonathan.rajotte-julien@efficios.com> wrote: > > I followed your command sequence and noticed a bunch of files being > > created. However when I tried to run babeltrace on these outputs I don't > > see any of the functions that should have been called. Including below > the > > search for symbols. > > At least userspace tracing seems to work. > > I would recommended, again, that you first try tracing on a dummy > application, a > really simple one. Then move to the usage of cyg_profile on that dummy app > then > to your application. > > The cyg profile events are the following: > > lttng_ust_cyg_profile_fast:func_entry > lttng_ust_cyg_profile_fast:func_exit > > and, when using liblttng-ust-cyg-profile.so: > > lttng_ust_cyg_profile:func_entry > lttng_ust_cyg_profile:func_exit > > I would recommend that you first start grep-ing (lttng_ust_cyg) for this > in the > trace to see if any is getting hit and recorded. If it is not the case, > take a > step back try with a dummy app and if nothing works with the dummy app we > can at > least try to help you from there and remove all other variable since you > will be > able to share the dummy app with us. > > Cheers > --000000000000e6c25c05bf569233 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Will try the dummy app to check if the basic setup is good. Won= dering if being able to trace shared libraries is something not supported.<= /div>
=
Regards,
Ramesh


On Tue, Apr 6, 2= 021 at 6:46 PM Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com> wrote:=
> I followed= your command sequence and noticed a bunch of files being
> created. However when I tried to run babeltrace on these outputs I don= 't
> see any of the functions that should have been called.=C2=A0 Including= below the
> search for symbols.

At least userspace tracing seems to work.

I would recommended, again, that you first try tracing on a dummy applicati= on, a
really simple one. Then move to the usage of cyg_profile on that dummy app = then
to your application.

The cyg profile events are the following:

=C2=A0 lttng_ust_cyg_profile_fast:func_entry
=C2=A0 lttng_ust_cyg_profile_fast:func_exit

and, when using liblttng-ust-cyg-profile.so:

=C2=A0 lttng_ust_cyg_profile:func_entry
=C2=A0 lttng_ust_cyg_profile:func_exit

I would recommend that you first start grep-ing (lttng_ust_cyg) for this in= the
trace to see if any is getting hit and recorded. If it is not the case, tak= e a
step back try with a dummy app and if nothing works with the dummy app we c= an at
least try to help you from there and remove all other variable since you wi= ll be
able to share the dummy app with us.

Cheers
--000000000000e6c25c05bf569233-- --===============1441265547090580428== 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 --===============1441265547090580428==--