diff options
author | Pavel Tatashin <[email protected]> | 2018-07-19 16:55:43 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-07-20 00:02:43 +0200 |
commit | 46457ea464f5341d1f9dad8dd213805d45f7f117 (patch) | |
tree | 316f05b91ec512ef269e8bdd0cc89e7ea062e0f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 857baa87b6422bcfb84ed3631d6839920cb5b09d (diff) |
sched/clock: Use static key for sched_clock_running
sched_clock_running may be read every time sched_clock_cpu() is called.
Yet, this variable is updated only twice during boot, and never changes
again, therefore it is better to make it a static key.
Signed-off-by: Pavel Tatashin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions