diff options
author | Peter Zijlstra <[email protected]> | 2016-08-16 13:33:26 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-08-18 10:35:49 +0200 |
commit | cca2094605efe6ccf43ff2876dd5bccc799202d8 (patch) | |
tree | 602620076d8e75ee2cf71154fbafe6243caa405f /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 6c4687cc17a788a6dd8de3e27dbeabb7cbd3e066 (diff) |
perf/core: Fix event_function_local()
Vincent reported triggering the WARN_ON_ONCE() in event_function_local().
While thinking through cases I noticed that by using event_function()
directly, we miss the inactive case usually handled by
event_function_call().
Therefore construct a blend of event_function_call() and
event_function() that handles the cases relevant to
event_function_local().
Reported-by: Vince Weaver <[email protected]>
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: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected] # 4.5+
Fixes: fae3fde65138 ("perf: Collapse and fix event_function_call() users")
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions