2010-02-17 17:38:27

by Eric B Munson

[permalink] [raw]
Subject: perf record and multiple events

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?

--
Eric B Munson
IBM Linux Technology Center
[email protected]


Attachments:
(No filename) (448.00 B)
signature.asc (197.00 B)
Digital signature
Download all attachments

2010-02-18 13:47:12

by Peter Zijlstra

[permalink] [raw]
Subject: Re: perf record and multiple events

On Wed, 2010-02-17 at 17:38 +0000, Eric B Munson wrote:
> 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.

2010-02-18 17:06:46

by Eric B Munson

[permalink] [raw]
Subject: Re: perf record and multiple events

On Thu, 18 Feb 2010, Peter Zijlstra wrote:

> On Wed, 2010-02-17 at 17:38 +0000, Eric B Munson wrote:
> > 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.

--
Eric B Munson
IBM Linux Technology Center
[email protected]


Attachments:
(No filename) (687.00 B)
signature.asc (197.00 B)
Digital signature
Download all attachments