aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2021-04-12 07:30:54 -0700
committerPeter Zijlstra <[email protected]>2021-04-19 20:03:27 +0200
commitb98567298bad891774054113690b30bd90d5738d (patch)
tree6acf29cc450b0a70b457eea2f3bab06ae59f4004 /tools/perf/scripts/python/exported-sql-viewer.py
parent34d5b61f29eea656be4283213273c33d5987e4d2 (diff)
perf/x86: Remove temporary pmu assignment in event_init
The temporary pmu assignment in event_init is unnecessary. The assignment was introduced by commit 8113070d6639 ("perf_events: Add fast-path to the rescheduling code"). At that time, event->pmu is not assigned yet when initializing an event. The assignment is required. However, from commit 7e5b2a01d2ca ("perf: provide PMU when initing events"), the event->pmu is provided before event_init is invoked. The temporary pmu assignment in event_init should be removed. Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions