Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

perf record and multiple events

0 views
Skip to first unread message

Eric B Munson

unread,
Feb 17, 2010, 12:40:02 PM2/17/10
to
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
ebmu...@us.ibm.com

signature.asc

Peter Zijlstra

unread,
Feb 18, 2010, 8:50:02 AM2/18/10
to
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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Eric B Munson

unread,
Feb 18, 2010, 12:10:02 PM2/18/10
to
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.

signature.asc
0 new messages