aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorShannon Nelson <[email protected]>2014-01-15 15:18:23 -0800
committerDavid S. Miller <[email protected]>2014-01-16 17:20:37 -0800
commit68bf94aae1873cb112385830e1a98a36bf154970 (patch)
tree24a10d1ae6cee4c83851559e6fb88686b41cb970 /tools/perf/scripts/python/syscall-counts.py
parentb01f236c66b214a73816a4083050f73481638a72 (diff)
i40e: check desc pointer before printing
Check that the descriptors were allocated before trying to dump them to the logfile. While we're there, de-trick-ify the code so as to be easier to read and not abusing the types and unions. Change-ID: I22898f4b22cecda3582d4d9e4018da9cd540f177 Signed-off-by: Shannon Nelson <[email protected]> Tested-by: Kavindya Deegala <[email protected]> Signed-off-by: Aaron Brown <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions