SourceForge has been redesigned. Learn more.
Close

Commit [13dab5]  Maximize  Restore  History

add perf_event RAW event syntax support

This support is integrated via a pseudo PMU called
perf_raw. It provides no events, but instead just the
necessary callbacks to match evnet codes specified in
hex using the following syntax: rX. Where X is a 64-bit
hexadecimal value. It can be followed by the usual
attributes supported by perf_events:

$ perf_examples/task -e r01c4:u,cycles foo

This pseudo PMU is only available on Linux.

Signed-off-by: Stephane Eranian <eranian@gmail.com>

Stephane Eranian Stephane Eranian 2014-02-18

changed include/perfmon/pfmlib.h
changed lib/Makefile
changed lib/pfmlib_common.c
added lib/pfmlib_perf_event_raw.c
changed lib/pfmlib_priv.h
include/perfmon/pfmlib.h Diff Switch to side-by-side view
Loading...
lib/Makefile Diff Switch to side-by-side view
Loading...
lib/pfmlib_common.c Diff Switch to side-by-side view
Loading...
lib/pfmlib_perf_event_raw.c Diff Switch to side-by-side view
Loading...
lib/pfmlib_priv.h Diff Switch to side-by-side view
Loading...