All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Jean-Michel Hautbois <jhautbois@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Specifying some processes to record using perf
Date: Thu, 02 Feb 2012 09:33:10 -0700	[thread overview]
Message-ID: <4F2ABAC6.5060200@gmail.com> (raw)
In-Reply-To: <CAL8zT=jXmSWbEQO2T2Kpp2_Yei5VJ+sGVt5U2vJwPo=6T2YY1g@mail.gmail.com>


On 02/02/2012 08:52 AM, Jean-Michel Hautbois wrote:
> Hi all,
> 
> I am using perf and I have several process and threads to record.
> I know that some threads in particular are interesting, and I don't
> find a way to specify multiple threads in perf record.
> The "-t" option takes only one thread IIUC.
> I don't know if the "--cgroup" is intended to do that, but I didn't
> succeed to use it...
> 
> I would also like to exclude one specific process (or thread) when I
> do a system-wide record, and I think it is not possible either ?
> 
> Thanks in advance !
> Regards,
> JM
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

Right now pef-record can only do only 1 process or 1 thread. I started
working on a patch to support multiple of both (e.g., allow multiple -t
or -p arguments), but I have not finished it.

Other options: Arnaldo recently added a uid option or you can record for
all processes and filter the output to just your processes/threads of
interest.

David

  reply	other threads:[~2012-02-02 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAL8zT=gX5=S9fd1MdYyYVYg+35anmK-aJwFj9fUiKNuMSb8n_w@mail.gmail.com>
2012-02-02 15:52 ` Specifying some processes to record using perf Jean-Michel Hautbois
2012-02-02 16:33   ` David Ahern [this message]
2012-02-04 23:19     ` David Ahern
2012-02-05 14:23       ` Arnaldo Carvalho de Melo
2012-02-05 17:47         ` David Ahern

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=4F2ABAC6.5060200@gmail.com \
    --to=dsahern@gmail.com \
    --cc=jhautbois@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.