aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2018-08-10 13:53:20 +0800
committerDavid Sterba <[email protected]>2018-10-15 17:23:26 +0200
commit16220c467ad34c8f103566a79ac047ed391f51f2 (patch)
tree3f207d27fd9146fd1cc49408c35c4f7c1e889d27 /tools/perf/scripts/python/call-graph-from-sql.py
parentf8b00e0f06e54efed0dc919518841ad0dd2199cd (diff)
btrfs: add assertions where number of devices could go below 0
In preparation to add helper function to deduce the num_devices with replace running, use assert instead of BUG_ON or WARN_ON. The number of devices would not normally drop to 0 due to other checks so the assert is sufficient. Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> [ update changelog, adjust the assert condition ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions