Re: [tip:perf/core] perf script: Print comm, fork and exit events also

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 30, 2013 at 04:53:07AM -0800, tip-bot for Namhyung Kim wrote:
> Commit-ID:  ad7ebb9a48f59bad2714b64725653a73d78b686e
> Gitweb:     http://git.kernel.org/tip/ad7ebb9a48f59bad2714b64725653a73d78b686e
> Author:     Namhyung Kim <namhyung@xxxxxxxxxx>
> AuthorDate: Tue, 26 Nov 2013 17:51:12 +0900
> Committer:  Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> CommitDate: Wed, 27 Nov 2013 14:58:38 -0300
> 
> perf script: Print comm, fork and exit events also
> 
> If --show-task-events option is given, also print internal COMM, FORK
> and EXIT events.  It would be helpful for debugging.
> 
>   $ perf script --show-task-events
>   ...
>          swapper     0 [009] 3350640.335261: sched:sched_switch: prev_comm=swapper/9
>            sleep  9486 [009] 3350640.335509: PERF_RECORD_COMM: sleep:9486
>            sleep  9486 [009] 3350640.335806: sched:sched_stat_runtime: comm=sleep pid=9486
>          firefox  2635 [003] 3350641.275896: PERF_RECORD_FORK(2635:9487):(2635:2635)
>          firefox  2635 [003] 3350641.275896: sched:sched_process_fork: comm=firefox pid=2635
>            sleep  9486 [009] 3350641.336009: PERF_RECORD_EXIT(9486:9486):(9486:9486)
> 
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
> Suggested-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>

Thanks a lot for doing this Namhyung!
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux