aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-02-05 13:43:08 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-04-05 15:49:27 -0400
commitd2e0721b18f320232dc36a0e4cc7beb620e8c9bd (patch)
tree8ee21bdd3250277a092f1e789ef0dd1255bf4653 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc8ed563bebeabbf0b1085b52916dd2fb6e219276 (diff)
fm10k: add helper functions to set strings and data for ethtool stats
Reduce duplicate code and the amount of indentation by adding fm10k_add_stat_strings and fm10k_add_ethtool_stats functions which help add fm10k_stat structures to the ethtool stats callbacks. This helps increase ease of use for future stat additions, and increases code readability. Skip handling of the per-queue stats as these will be reworked in a following patch. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions