diff options
author | Stephane Eranian <[email protected]> | 2019-04-08 10:32:51 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-04-16 12:19:34 +0200 |
commit | c68d224e5ed15605e651e2482c6ffd95915ddf58 (patch) | |
tree | 6d922a68c8af79dd81c32893a30b94a2d62d7875 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cc8670945d43f857dcb99c61ea3beaacfb6ed472 (diff) |
perf/core: Add perf_pmu_resched() as global function
This patch add perf_pmu_resched() a global function that can be called
to force rescheduling of events for a given PMU. The function locks
both cpuctx and task_ctx internally. This will be used by a subsequent
patch.
Signed-off-by: Stephane Eranian <[email protected]>
[ Simplified the calling convention. ]
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: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions