Re: perf-stat per thread results
From: Wim Heirman
Date: Fri May 13 2011 - 16:33:23 EST
Hi,
> It's supposed to do that if --stat is specified, and it used to work - see this
> commit:
>
> 8d51327090ac: perf report: Fix and improve the displaying of per-thread event counters
>
> and the output there:
>
> # PID TID cache-misses cache-references
> 4658 4659 495581 3238779
> 4658 4662 498246 3236823
> 4658 4663 499531 3243162
>
> which appears to be roughly what Wim is asking for, AFAICT.
Thanks, this is exactly what I'm looking for. In 2.6.32 (Ubuntu 10.04)
it works, although if I use --pid rather than the -- <command> variant
the first thread seams to be missing. In 2.6.38 (Ubuntu 11.04) the
first thread is missing in both use cases, and I get one column per
processor (which in itself is fine).
Regards,
Wim
--
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/