summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlessandro Marcolini <alessandromarcolini99@gmail.com>2024-02-03 16:16:53 +0300
committerJakub Kicinski <kuba@kernel.org>2024-02-07 05:56:19 +0300
commitb9bcfc3bc978f7b81104d2c01d4fe29a6f45e17a (patch)
treecbc6dde5f20924e089635b08538b0752b2c57432 /tools/perf/scripts/python/stackcollapse.py
parent70ff9a91e86850103f71d5920eff6bee81bd2a0d (diff)
downloadlinux-b9bcfc3bc978f7b81104d2c01d4fe29a6f45e17a.tar.xz
tools: ynl: add support for encoding multi-attr
Multi-attr elements could not be encoded because of missing logic in the ynl code. Enable encoding of these attributes by checking if the attribute is a multi-attr and if the value to be processed is a list. This has been tested both with the taprio and ets qdisc which contain this kind of attributes. Signed-off-by: Alessandro Marcolini <alessandromarcolini99@gmail.com> Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/c5bc9f5797168dbf7a4379c42f38d5de8ac7f38a.1706962013.git.alessandromarcolini99@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions