[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1248858728.6987.3055.camel@twins>
Date: Wed, 29 Jul 2009 11:12:08 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Jeff Garzik <jeff@...zik.org>
Cc: mingo@...hat.com, hpa@...or.com, tglx@...utronix.de, mingo@...e.hu,
paulus@...ba.org, linux-kernel@...r.kernel.org,
rostedt@...dmis.org,
linux-tip-commits <linux-tip-commits@...r.kernel.org>
Subject: Re: perf_counter: hook up the tracepoint events
On Wed, 2009-07-29 at 04:59 -0400, Jeff Garzik wrote:
> > @@ -957,6 +957,12 @@ config EVENT_PROFILE
> > bool "Tracepoint profile sources"
> > depends on PERF_COUNTERS && EVENT_TRACING
> > default y
> > + help
> > + Allow the use of tracepoints as software performance counters.
> > +
> > + When this is enabled, you can create perf counters based on
> > + tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID
> > + found in debugfs://tracing/events/*/*/id.
>
> Thanks. Is this feature useful w/out debugfs?
Not really, but I was assuming (/me goes check) that EVENT_TRACING would
mandate debugfs being there.
Hmm kernel/trace/Kconfig seems a little select heavy, but I think it'll
work out and select DEBUG_FS too.
I'll queue up the patch and push it Linus wards this cycle.
Thanks!
--
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