Skip to contentSkip to conversation

perf record and multiple events

DISCUSSION Eric B Munson 2 participants 3 messages Feb 17, 2010 – Feb 18, 2010

lore
Share & tools
lore
#0 lore raw

While testing perf record I found that when multiple events are specified on the command line, i.e. perf record -e dTLB-misses -e cache-misses, the are lumped into a single category on output from perf report. The same event specification gives two event categories when using perf stat. Is this working as expected or should I see seperate entries in the report for each event?

Signature · 3 lines
Eric B Munson
IBM Linux Technology Center
[email protected]
#1 lore raw
Quoted 6 lines · Eric B Munson

While testing perf record I found that when multiple events are specified on the command line, i.e. perf record -e dTLB-misses -e cache-misses, the are lumped into a single category on output from perf report. The same event specification gives two event categories when using perf stat. Is this working as expected or should I see seperate entries in the report for each event?

The tools currently lack support for this, but patches are welcome.

#2 lore raw
Quoted 10 lines · Peter Zijlstra
Quoted 6 lines · Eric B Munson

While testing perf record I found that when multiple events are specified on the command line, i.e. perf record -e dTLB-misses -e cache-misses, the are lumped into a single category on output from perf report. The same event specification gives two event categories when using perf stat. Is this working as expected or should I see seperate entries in the report for each event?

The tools currently lack support for this, but patches are welcome.

Thanks, I'll start looking into it.

Signature · 3 lines
Eric B Munson
IBM Linux Technology Center
[email protected]