aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJim Cromie <[email protected]>2021-05-04 22:22:34 +0000
committerGreg Kroah-Hartman <[email protected]>2021-05-13 18:50:23 +0000
commit640d1eaff2c09e382a23bd831094ebbfaa16fef5 (patch)
tree3b081de7f657cbfb2aeeed57f1333c406f6afe1f /tools/perf/scripts/python
parentbinder: Return EFAULT if we fail BINDER_ENABLE_ONEWAY_SPAM_DETECTION (diff)
downloadkernel-640d1eaff2c09e382a23bd831094ebbfaa16fef5.tar.gz
kernel-640d1eaff2c09e382a23bd831094ebbfaa16fef5.zip
dyndbg: avoid calling dyndbg_emit_prefix when it has no work
Wrap function in a static-inline one, which checks flags to avoid calling the function unnecessarily. And hoist its output-buffer initialization to the grand-caller, which is already allocating the buffer on the stack, and can trivially initialize it too. Signed-off-by: Jim Cromie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions