aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2019-05-27 22:55:21 +0200
committerThomas Gleixner <[email protected]>2019-06-12 10:47:05 +0200
commit699785f5d898965408430e841d10cd1cb2c02a77 (patch)
tree84d09f29925edff26e78e3c86651357afd3feed5 /tools/perf/scripts/python/export-to-sqlite.py
parentf52da98d900e18a250cb14ca426d4041ea7002db (diff)
genirq/timings: Add selftest for next event computation
The circular buffers are now validated with selftests. The next interrupt index algorithm which is the hardest part to validate needs extra coverage. Add a selftest which uses the intervals stored in the arrays and insert all the values except the last one. The next event computation must return the same value as the last element which was not inserted. Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions