aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2015-12-04 17:22:36 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-05 19:00:03 -0500
commit44c33c66310c76979649b7c0004af7744bd4ce7a (patch)
treebc6221bc1d98708f8c6f7ad387d8077c91a761f7 /tools/perf/scripts/python/export-to-postgresql.py
parentbnx2x: change FW GRO error message to WARN_ONCE (diff)
downloadlinux-dev-44c33c66310c76979649b7c0004af7744bd4ce7a.tar.xz
linux-dev-44c33c66310c76979649b7c0004af7744bd4ce7a.zip
bnx2x: simplify distinction between port and func stats
The 'flags' field in bnx2x_stats_arr[] serves only one purpose - to tell us if the statistic is a per-port stat and thus should not be shown for virtual functions. It's strange that the field can have three different values. A boolean will do just fine. Also remove IS_FUNC_STAT(). It was used only once and it's in fact just a negation of IS_PORT_STAT(). Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions