diff options
author | 2021-09-09 04:38:03 +0900 | |
---|---|---|
committer | 2021-09-08 15:44:32 -0400 | |
commit | cfd799837dbc48499abb05d1891b3d9992354d3a (patch) | |
tree | b4eff49de9cf9fb1e983155c418942154875fcbb /include/linux/fpga/fpga-mgr.h | |
parent | selftests/ftrace: Exclude "(fault)" in testing add/remove eprobe events (diff) | |
download | linux-dev-cfd799837dbc48499abb05d1891b3d9992354d3a.tar.xz linux-dev-cfd799837dbc48499abb05d1891b3d9992354d3a.zip |
tracing/boot: Fix to loop on only subkeys
Since the commit e5efaeb8a8f5 ("bootconfig: Support mixing
a value and subkeys under a key") allows to co-exist a value
node and key nodes under a node, xbc_node_for_each_child()
is not only returning key node but also a value node.
In the boot-time tracing using xbc_node_for_each_child() to
iterate the events, groups and instances, but those must be
key nodes. Thus it must use xbc_node_for_each_subkey().
Link: https://lkml.kernel.org/r/163112988361.74896.2267026262061819145.stgit@devnote2
Fixes: e5efaeb8a8f5 ("bootconfig: Support mixing a value and subkeys under a key")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions