diff options
| author | Will Deacon <[email protected]> | 2016-08-15 10:42:45 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-09-05 11:19:18 +0000 |
| commit | c9bbdd4830ab06288bb1d8c00ed8c8c6e80e377a (patch) | |
| tree | 6fe8c117689f202e26815b3e4ba4e9a01e65f215 /tools/perf/builtin-script.c | |
| parent | perf/x86/intel/uncore: Handle non-standard counter offset (diff) | |
| download | kernel-c9bbdd4830ab06288bb1d8c00ed8c8c6e80e377a.tar.gz kernel-c9bbdd4830ab06288bb1d8c00ed8c8c6e80e377a.zip | |
perf/core: Don't pass PERF_EF_START to the PMU ->start callback
PERF_EF_START is a flag to indicate to the PMU ->add() callback that, as
well as claiming the PMU resources required by the event being added,
it should also start the PMU.
Passing this flag to the ->start() callback doesn't make sense, because
->start() always tries to start the PMU. Remove it.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[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/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
