diff options
author | Stephane Eranian <[email protected]> | 2014-11-17 20:06:56 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-04-02 17:33:10 +0200 |
commit | 79cba822443a168c8f7f5b853d9c7225a6d5415e (patch) | |
tree | 26f3d2fd2b5b1d6c8118861288e83ff90ccf7125 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | c5362c0c376486afcf3c91d3c2691d348ac1e2fd (diff) |
perf/x86: Add 'index' param to get_event_constraint() callback
This patch adds an index parameter to the get_event_constraint()
x86_pmu callback. It is expected to represent the index of the
event in the cpuc->event_list[] array. When the callback is used
for fake_cpuc (evnet validation), then the index must be -1. The
motivation for passing the index is to use it to index into another
cpuc array.
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions