Messages in this thread |  | | Date | Mon, 18 Nov 2013 07:19:38 -0700 | From | David Ahern <> | Subject | Re: [PATCH v2 2/3] perf script: Print comm, fork and exit events also |
| |
On 11/18/13, 6:57 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 18, 2013 at 02:34:53PM +0900, Namhyung Kim escreveu: >> If --show-task option is given, also print internal COMM, FORK and >> EXIT events. It would be helpful for debugging. > > Humm, --show-task-events is clearer albeit long :-\ With shell > completion shouldn't be an issue tho. > > Also, can't we use: perf_event__fprintf_{mmap,comm,task}?
Good point. Those can be used to dump data after perf-script's sample_start. From a quick review it looks like perf_event__fprintf can be used rather than the lower fprintf_mmap functions.
David
|  |