aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <[email protected]>2020-08-03 16:25:47 +0200
committerRob Herring <[email protected]>2020-08-03 16:24:49 -0600
commitbda2127827e9dd2781ae095cda0b8e5bf685c458 (patch)
tree409996641797fe64e8d9097ecf1c80fccf234456 /tools/perf/scripts/python/intel-pt-events.py
parent7cc3d5020bdaaa9ca216081be93c51db3546e199 (diff)
of: unittest: Use bigger address cells to catch parser regressions
Getting address and size cells for dma-ranges/ranges parsing is tricky and shouldn't rely on the node's count_cells() method. The function starts looking for cells on the parent node, as its supposed to work with device nodes, which doesn't work when input with bus nodes, as generally done when parsing ranges. Add test to catch regressions on that specific quirk as developers will be tempted to edit it out in favor of the default method. Signed-off-by: Nicolas Saenz Julienne <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions