aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2019-04-10 14:32:38 +0200
committerDavid S. Miller <[email protected]>2019-04-10 12:20:46 -0700
commit1f5e6fdd6aec7929e67afad1e42e35d894a119ae (patch)
treea473860ae14f8a116b3cf7f510c42f456c9a3cd9 /tools/perf/scripts/python/exported-sql-viewer.py
parentb0a231a26d56265521abbb6db1748accd6bb036a (diff)
net: sched: prefer qdisc_is_empty() over direct qlen access
When checking for root qdisc queue length, do not access directly q.qlen. In the following patches we will move back qlen accounting to per CPU values for NOLOCK qdiscs. Instead, prefer the qdisc_is_empty() helper usage. Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions