On Wed, 18 Sep 2013, Freehill Christopher-RAT063 wrote: > > 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, > Thanks for the suggestion. I hadn't tried that, and was not knowledgeable > about grouping. Unfortunately, I still see the same behavior using grouping. > > That is, if I had the following: > > Perf stat -e \{a,b,c\} /bin/ls > > (assume a, b and c are legit events) > > the event a is added, configured for and then deleted. Then, then a and b are > added, configured for, then deleted. Finally, a, b and c are added, > configured for and deleted. This pattern would continue for however many > events I specify. > > This is probably just broken in my own environment. I'll investigate more. Of > course, any suggestions are welcome.
Support for { } grouping wasn't introduced until the version of perf that came with Linux 3.7 so that might affect the results you see. Vince -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html