diff options
| author | Adrian Hunter <[email protected]> | 2016-01-07 10:13:59 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-01-08 14:15:11 -0300 |
| commit | 23df7f798435796aff07d641456326b81cb34a77 (patch) | |
| tree | 7ec8f418f12e4f5c3dd33b27f6c0ceeb68a2eb9a /scripts/patch-kernel | |
| parent | 14cbfbeb76540cc0c53fbb0ba34b3a4900ebe40f (diff) | |
perf evlist: Make perf_evlist__open() open evsels with their cpus and threads (like perf record does)
'perf record' uses perf_evsel__open() to open events and passes the
evsel->cpus and evsel->threads. Many tests and some tools instead use
perf_evlist__open() which passes instead evlist->cpus and
evlist->threads.
Make perf_evlist__open() follow the 'perf record' behaviour so that a
consistent approach is taken.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Noel Grandin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions