diff options
author | Ciara Loftus <[email protected]> | 2020-10-02 13:36:12 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-10-06 11:46:50 -0700 |
commit | 67ed375530e223624508382a9348a21c3b2ccc09 (patch) | |
tree | 1afad1359b572a061f5c0ad49969fcc2e6b7fb17 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 60dc609dbd545226e00c9e7b518d0f4873f0a3e1 (diff) |
samples: bpf: Driver interrupt statistics in xdpsock
Add an option to count the number of interrupts generated per second and
total number of interrupts during the lifetime of the application for a
given interface. This information is extracted from /proc/interrupts. Since
there is no naming convention across drivers, the user must provide the
string which is specific to their interface in the /proc/interrupts file on
the command line.
Usage:
./xdpsock ... -I <irq_str>
eg. for queue 0 of i40e device eth0:
./xdpsock ... -I i40e-eth0-TxRx-0
Signed-off-by: Ciara Loftus <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions