aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShannon Nelson <[email protected]>2015-02-27 09:18:30 +0000
committerJeff Kirsher <[email protected]>2015-03-09 05:20:45 -0700
commit1efc80eeee8c89188e78545c87a613e480aefd96 (patch)
tree6976f204811ef4c97368fed22a339674db1fd6bb /tools/perf/scripts/python/export-to-postgresql.py
parentd1da3ac0ee0d9a0a0589b309efcf9b1fabb43473 (diff)
i40e: future proof some sizeof calls
Make sure the sizeof() calls are taking the size of the actual struct that we care about. By using the pointer variable, we'll always get the right struct size, even if the variable type changes sometime in the future. Change-ID: Id5858f883cf42447365ea3733080d7714f975bce Signed-off-by: Shannon Nelson <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions