aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-03-29 11:16:51 -0700
committerJakub Kicinski <[email protected]>2024-04-02 18:01:58 -0700
commitd6d647d7ba6413148c3db2d48640986c8c1d7d08 (patch)
tree6da345e3cdb8dc53f5d90bed51971a2028dfbe93 /tools/perf/scripts/python/libxed.py
parentd88cabfd9abcd01c7729e5383919357da732ada9 (diff)
tools: ynl: add ynl_dump_empty() helper
Checking if dump is empty requires a couple of casts. Add a convenient wrapper. Add an example use in the netdev sample, loopback is always present so an empty dump is an error. Reviewed-by: Nicolas Dichtel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions