summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-10-30 18:33:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-31 09:09:04 +0100
commita05159da5a4e49fd4b34cb00fb33badeb4dc9ec3 (patch)
treec0dc48832038e1589e03521878380cb27e02d793 /tools/perf/scripts/python/stackcollapse.py
parentfc47cb05cf19017c3eb87da9b82e20f57b595ad3 (diff)
staging: r8188eu: clean up on_action_public
Use the struct mgmt to read the action_code. This is much simpler than parsing the message ourselves. Add a comment about reading the action code. All members of the action enum start with an action_code byte. It does not matter which member we use. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20221030173326.1588647-10-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions