Re: [PATCH v2 2/3] perf script: Print comm, fork and exit eventsalso

From: David Ahern
Date: Mon Nov 18 2013 - 09:19:54 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/