On Tue, 17 Sep 2013, Freehill Christopher-RAT063 wrote:
> > Hi,
> >
> > Is there a way to disable the multiplexing perf does when (presumably)
> > there are not enough resources?
>
> I neglected to mention, in this case, there *are* enough resources to handle
> all the events without multiplexing. My presumption above is that
> multiplexing occurs when there are not enough counters to handle all of the
> requests.
>
> I would rather perf just fail, and say it cannot handle the request than
> multiplex. In this case, however, as I stated earlier, multiplexing is not
> required, so I'm not sure why perf deletes the perf_event, and then adds it
> again.
Have you tried grouping with {}? It should force a subset to run
together.
For example:
perf stat -e \{instructions,cycles\} /bin/ls
will always run instructions and cycles at the same time. You need the \
so the shell won't escape the {
as an aside, there are ARM chips that support offcore SOC events?
Vince
--
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