Re: [PATCH 1/8] perf tools: Add '.' as part of the event 'name' token

From: Ingo Molnar
Date: Sat May 04 2013 - 04:11:09 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > I meant to add that I think it would be more productive if we (you and I) were
> > to work on the library to extend it with external text-based event tables that
> > could be used by perf either directly or thru the libpfm4 interface.
>
> That would be very useful indeed.. I think we talked about this before.
> Also wasn't there some vendor support for this idea as well?
>
> I think we want a format that is relatively simple to parse and human
> readable (which excludes XML on both counts ;-).
>
> The main objection of using libpfm4 has always been that its primarily
> something else. It also does the event listing thing, but that's only a
> small part of it.
>
> But if we can split out that part and use it in both projects that would
> be best I think.

If that libpfm reference library moved to tools/lib/ like
tools/lib/traceevents/ then that would be a nice, useful solution indeed.

Thanks,

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