Re: [PATCH 2/3] perf tools: remove pid option from stat

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Wednesday, December 30, 2009 - 2:23 am

* Peter Zijlstra <peterz@infradead.org> wrote:


Yes. For exampe something like:

  perf stat --repeat 10 --pid $(pidof firefox) sleep 1

Should show firefox's resource usage sampled over 10 seconds.

If this doesnt work it should be fixed. Plus i suspect we should allow:

  perf stat --pid $(pidof firefox)

to run until Ctrl-C - like perf record allows.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/3] perf tools: remove pid option from stat, Liming Wang, (Tue Dec 29, 1:37 am)
Re: [PATCH 2/3] perf tools: remove pid option from stat, Peter Zijlstra, (Tue Dec 29, 5:04 am)
Re: [PATCH 2/3] perf tools: remove pid option from stat, Ingo Molnar, (Wed Dec 30, 2:23 am)
[PATCH 1/1] perf tools: fix pid option for stat, Liming Wang, (Thu Dec 31, 1:05 am)
[tip:perf/core] perf tools: Fix --pid option for stat, tip-bot for Liming Wang, (Wed Jan 13, 3:31 am)