From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Aldrich Subject: Beginner question: how to inspect scheduling of multi-threaded user application? Date: Wed, 24 Aug 2016 07:17:36 +0000 Message-ID: <35de22c3d2034f3abb75596477b23e3a__34597.1093084247$1472023069$gmane$org@EUX13SRV1.EU.NEC.COM> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7667735324554107531==" Return-path: Received: from cluster-a.mailcontrol.com (cluster-a.mailcontrol.com [85.115.52.190]) by evm-lttng-1.efficios.com (Postfix) with ESMTPS id 681C6A3AFC for ; Wed, 24 Aug 2016 07:17:54 +0000 (UTC) Received: from mail1.neceur.com (mail1.neceur.com [195.47.207.3]) by rly27a.srv.mailcontrol.com (MailControl) with ESMTP id u7O7HbhI004119 for ; Wed, 24 Aug 2016 08:17:37 +0100 Received: from intmail1.neceur.com (intmail1.neceur.com [172.29.14.11]) by mail1.neceur.com (8.14.4/8.14.4) with ESMTP id u7O7Hbce010412 for ; Wed, 24 Aug 2016 08:17:37 +0100 Received: from av1.neceur.com (av1.neceur.com [172.29.14.21]) by intmail1.neceur.com (8.13.8/8.13.8) with ESMTP id u7O7Ha0O031482 for ; Wed, 24 Aug 2016 08:17:36 +0100 Received: from av1.neceur.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D53FC18045 for ; Wed, 24 Aug 2016 08:17:36 +0100 (BST) Received: from av1.neceur.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B62C01803F for ; Wed, 24 Aug 2016 08:17:36 +0100 (BST) Received: from EUX13SRV1.EU.NEC.COM (unknown [172.29.155.138]) by av1.neceur.com (Postfix) with ESMTPS for ; Wed, 24 Aug 2016 08:17:36 +0100 (BST) Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" To: "lttng-dev@lists.lttng.org" List-Id: lttng-dev@lists.lttng.org --===============7667735324554107531== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_35de22c3d2034f3abb75596477b23e3aEUX13SRV1EUNECCOM_" --_000_35de22c3d2034f3abb75596477b23e3aEUX13SRV1EUNECCOM_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I am new to tracing in Linux and to lttng. I have a multi-threaded user app= lication and I want to see: 1) When the threads are scheduled to run 2) Which cores the threads are running on. I have installed lttng on Ubuntu 14.04 LTS. I am expecting to visualise th= e trace using TraceCompass. I have read the following doc section: http://lttng.org/docs/#doc-tracing-your-own-user-application In order to collect my trace, must I define custom tracepoint definitions (= in a tracepoint provider header file ), and insert tracepoints into my use= r application, or is there a simpler way of achieving my goal? Best regards David --_000_35de22c3d2034f3abb75596477b23e3aEUX13SRV1EUNECCOM_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi

 

I am new to tracing in Linux and to lttng. I have a = multi-threaded user application and I want to see:

 

1)      When the threads are scheduled to run

2)      Which cores the threads are running on.<= /p>

 

I have installed lttng on Ubuntu 14.04 LTS.  I = am expecting to visualise the trace using TraceCompass.

 

I have read the following doc section:

 

http://lttng.org/docs/#doc-tracing-your-own-user-appli= cation

 

In order to collect my trace, must I define custom t= racepoint definitions ( in a tracepoint p= rovider header file ), and inser= t tracepoints into my user application, or is there a simpler way of achiev= ing my goal?

 

Best rega= rds

&nbs= p;

David

 

--_000_35de22c3d2034f3abb75596477b23e3aEUX13SRV1EUNECCOM_-- --===============7667735324554107531== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbHR0bmctZGV2 IG1haWxpbmcgbGlzdApsdHRuZy1kZXZAbGlzdHMubHR0bmcub3JnCmh0dHBzOi8vbGlzdHMubHR0 bmcub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9sdHRuZy1kZXYK --===============7667735324554107531==--