[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090804111412.GA20942@elte.hu>
Date: Tue, 4 Aug 2009 13:14:12 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Markus Metzger <markus.t.metzger@...el.com>, tglx@...utronix.de,
hpa@...or.com, markus.t.metzger@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [patch] x86, perf_counter, bts: add bts to perf_counter
* Peter Zijlstra <a.p.zijlstra@...llo.nl> wrote:
> On Tue, 2009-07-21 at 15:56 +0200, Markus Metzger wrote:
> > Implement a performance counter with:
> > attr.type = PERF_TYPE_HARDWARE
> > attr.config = PERF_COUNT_HW_BRANCH_INSTRUCTIONS
> > attr.sample_period = 1
> >
> > using branch trace store (BTS) on x86 hardware, if available.
> >
> > The from and to address for each branch can be sampled using:
> > PERF_SAMPLE_IP for the from address
> > PERF_SAMPLE_ADDR for the to address
> >
>
> Over all looks very nice, some comments below (could be addressed
> in a delta patch).
ok - thanks guys - i'll test this some and push it out into the
perfcounters tree. Will apply the delta patch too once it's done.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists