Commit [c94823]  Maximize  Restore  History

activate perf_event_ext cpu= modifier

Enable cpu=X perf_events modifier on events.
The cpu number is returned in the pfm_perf_encode_arg.cpu
field. If modifier not set in event string, then field has
value -1.

This is an indicative information of where the user
wants the event to be programmed. This is useful
only in system-wide mode. The library does not
program the event with perf_events. The
user program still has to invoke the perf_event_open()
syscall.

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

Stephane Eranian Stephane Eranian 2014-04-18

changed include
changed include/perfmon
changed include/perfmon/pfmlib_perf_event.h
changed lib
changed lib/pfmlib_perf_event.c
changed lib/pfmlib_perf_event_priv.h
changed perf_examples
changed perf_examples/perf_util.c
changed perf_examples/perf_util.h
include
Directory.
include/perfmon
Directory.
include/perfmon/pfmlib_perf_event.h Diff Switch to side-by-side view
Loading...
lib
Directory.
lib/pfmlib_perf_event.c Diff Switch to side-by-side view
Loading...
lib/pfmlib_perf_event_priv.h Diff Switch to side-by-side view
Loading...
perf_examples
Directory.
perf_examples/perf_util.c Diff Switch to side-by-side view
Loading...
perf_examples/perf_util.h Diff Switch to side-by-side view
Loading...