aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-08-14 13:56:27 -0700
committerJakub Kicinski <[email protected]>2023-08-15 19:18:34 -0700
commit7582113c6917c280c90352d1935cfa451e74376a (patch)
tree46f99a18fecd1ef445092b7db1b9e4b00e55f047 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parentded67d90815a412f327051d27eb6c6de57cd2c03 (diff)
tools: ynl: add more info to KeyErrors on missing attrs
When developing specs its useful to know which attr space YNL was trying to find an attribute in on key error. Instead of printing: KeyError: 0 add info about the space: Exception: Space 'vport' has no attribute with value '0' Reviewed-by: Donald Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions