diff options
author | Davidlohr Bueso <[email protected]> | 2018-03-26 14:09:27 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-03-27 07:53:00 +0200 |
commit | 631fe154edb0a37308d0116a0f9b7bba9dca6218 (patch) | |
tree | 27ce57beb266c6ce31d546080e833353da2a6fd2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a0ac7b3ca941fbbf96b48df7de6542d18d8d92f3 (diff) |
perf/x86: Update rdpmc_always_available static key to the modern API
No changes in refcount semantics -- use DEFINE_STATIC_KEY_FALSE()
for initialization and replace:
static_key_slow_inc|dec() => static_branch_inc|dec()
static_key_false() => static_branch_unlikely()
Added a '_key' suffix to rdpmc_always_available, for better self-documentation.
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions