aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2019-11-08 06:23:26 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-11-22 13:15:17 -0800
commit4015d11e4b9720718de7df28d25c04d08d8b6226 (patch)
treedff3fc55ea8b6e5ec0a80c6c4f2d6c402915cfc7 /tools/perf/scripts/python/export-to-postgresql.py
parentice: Do not use devm* functions for local uses (diff)
downloadwireguard-linux-4015d11e4b9720718de7df28d25c04d08d8b6226.tar.xz
wireguard-linux-4015d11e4b9720718de7df28d25c04d08d8b6226.zip
ice: Add ice_pf_to_dev(pf) macro
We use &pf->dev->pdev all over the code. Add a simple macro to do this for us. When multiple de-references like this are being done add a local struct device variable. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions