lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
From: "熊毓华 via lttng-dev" <lttng-dev@lists.lttng.org>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>,
	 "mathieu.desnoyers@efficios.com"
	<mathieu.desnoyers@efficios.com>,
	 "gbastien@versatic.net" <gbastien@versatic.net>
Subject: [lttng-dev] How to use the lttng-untrack command
Date: Tue, 1 Sep 2020 17:13:25 +0800 (GMT+08:00)	[thread overview]
Message-ID: <6e9da9cb.16e65.17448f14499.Coremail.xiongyuhua@zju.edu.cn> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 1191 bytes --]

Hi,dear




Hello, I have encountered some problems in using LTTNG, which is briefly described as follows. I am eager to get your help.


About the use of the untrack command.It is reproduced as follows:

I type the following commands in turn to start LTTNG, and set up not to monitor a particular process.(For example, I input the "top" command in the terminal, the PID of the "top" process is 72598, now I want LTTNG not to monitor the "top" process)




lttng create my-kernel-session --output=/tmp/my-kernel-trace
lttng add-context -k -t pid
lttng add-context -k -t tid
lttng enable-event --kernel --all
lttng untrack --kernel --pid=72598
lttng start
lttng destroy
babeltrace2 /tmp/my-kernel-trace > babeltrace.txt




Unfortunately, the output still contains the data for PID72598.
Even after I changed "lttng untrack --kernel -- PID =72598" to "LTTNG untrack-u -- PID =72598", this phenomenon still occurred.

How do I use the lttng-untrack command to achieve my goal?




Looking forward to your reply.
thanks,
yuhua

------------------
Yuhua Xiong
Lab for Internet and Security Technology
School of Computer Science and Technology
Zhejiang University
Hangzhou, 310007, P.R. China


[-- Attachment #1.1.2: Type: text/html, Size: 1769 bytes --]

[-- Attachment #1.2: 1598951079297.png --]
[-- Type: image/png, Size: 228995 bytes --]

[-- Attachment #1.3: 1598951286057.png --]
[-- Type: image/png, Size: 382880 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

             reply	other threads:[~2020-09-01 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-01  9:13 熊毓华 via lttng-dev [this message]
2020-09-01 13:37 ` [lttng-dev] How to use the lttng-untrack command Mathieu Desnoyers via lttng-dev
2020-09-03  2:53   ` 熊毓华 via lttng-dev
2020-09-03 14:17     ` Mathieu Desnoyers via lttng-dev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e9da9cb.16e65.17448f14499.Coremail.xiongyuhua@zju.edu.cn \
    --to=lttng-dev@lists.lttng.org \
    --cc=gbastien@versatic.net \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=xiongyuhua@zju.edu.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).