Re: [PATCH 1/7] perf: introduce raw_type attribute to specify thetype of a raw sample
From: Ingo Molnar
Date: Thu May 20 2010 - 02:52:16 EST
* Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx> wrote:
> [...]
>
> Have you looked at Lin Ming's patch series? I think it
> offers another way to support IBS and other
> arch-specific and off-chip PMUs in a more general way,
> though it's not quite fully-baked yet.
Robert, check out this thread on lkml:
[RFC][PATCH v2 06/11] perf: core, export pmus via sysfs
Here is Peter's post that describes the high level design:
http://groups.google.com/group/linux.kernel/msg/ab9aa075016c639e
And please help out Lin Ming with this work - we dont want
to add new, special-purpose ABI extensions for enumeration
purposes, it should be introduced using a new event_source
node via the sysfs enumeration.
Whether IBS fits that category is an open question -
ideally it should have similar high level usage as the
PEBS/LBR bits on Intel CPUs. (at least as far as tooling
goes)
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/