aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2021-09-09 13:36:30 +0000
committerSteven Rostedt (VMware) <[email protected]>2021-09-09 23:14:33 +0000
commit5f8895b27da2656e5e2be029acfb68c016f03326 (patch)
tree168d6ed46b581ef5ea8e4e1bc087c2000a992e0d /scripts/clang-tools/gen_compile_commands.py
parenttracing/boot: Fix trace_boot_hist_add_array() to check array is value (diff)
downloadkernel-5f8895b27da2656e5e2be029acfb68c016f03326.tar.gz
kernel-5f8895b27da2656e5e2be029acfb68c016f03326.zip
tracing/boot: Fix to check the histogram control param is a leaf node
Since xbc_node_find_child() doesn't ensure the returned node is a leaf node (key-value pair or do not have subkeys), use xbc_node_find_value to ensure the histogram control parameter is a leaf node in trace_boot_compose_hist_cmd(). Link: https://lkml.kernel.org/r/163119459059.161018.18341288218424528962.stgit@devnote2 Fixes: e66ed86ca6c5 ("tracing/boot: Add per-event histogram action options") Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions