summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJoe Damato <jdamato@fastly.com>2025-02-05 22:37:47 +0300
committerJakub Kicinski <kuba@kernel.org>2025-02-07 03:59:25 +0300
commit6597e8d35851e1e0cb381f76ce1d960518fd8c94 (patch)
tree6bc4840bf5a436cfec3627b96d0a6b919c291edc /tools/perf/scripts/python/stackcollapse.py
parent71f0dd5a3293d75d26d405ffbaedfdda4836af32 (diff)
downloadlinux-6597e8d35851e1e0cb381f76ce1d960518fd8c94.tar.xz
netdev-genl: Elide napi_id when not present
There are at least two cases where napi_id may not present and the napi_id should be elided: 1. Queues could be created, but napi_enable may not have been called yet. In this case, there may be a NAPI but it may not have an ID and output of a napi_id should be elided. 2. TX-only NAPIs currently do not have NAPI IDs. If a TX queue happens to be linked with a TX-only NAPI, elide the NAPI ID from the netlink output as a NAPI ID of 0 is not useful for users. Signed-off-by: Joe Damato <jdamato@fastly.com> Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250205193751.297211-1-jdamato@fastly.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