Milian Wolff <[email protected]> writes:
> Hello all,
>
> could we have the cache-references,cache-misses events added to the list of
> default events for perf stat? I think it is a very valuable metric for all
> user-space applications.
>
> Currently, I run perf stat twice, once with the default events, and once with
>
> perf stat -e cache-references,cache-misses ...
>
> there is no easy way to append two events to the list of default events.
>
> So, what do you think?
On most systems with only four counters it'll start multiplexing, which
will give much worse results. Defaulting to non multiplexing is much
better.
Reproducing the standard perf stat output isn't that difficult. It's
perf stat -e
task-clock,cs,migrations,page-faults,cycles,instructions,branches,branch-misses
and then add more events. If you remove the bogus stalled-* events you
have even two free counters.
If you exceed four you should define appropiate groups with {}
-Andi
--
[email protected] -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html