diff options
author | Mike Marciniszyn <[email protected]> | 2014-03-07 08:40:49 -0500 |
---|---|---|
committer | Roland Dreier <[email protected]> | 2014-03-17 16:16:51 -0700 |
commit | 1ed88dd7d0b361e677b2690f573e5c274bb25c87 (patch) | |
tree | d78f5aa8f9983b92b7db9f876817199b136c3a2b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f8b6c47a44c063062317646683a73371c24c69ee (diff) |
IB/qib: Add percpu counter replacing qib_devdata int_counter
This patch replaces the dd->int_counter with a percpu counter.
The maintanance of qib_stats.sps_ints and int_counter are
combined into the new counter.
There are two new functions added to read the counter:
- qib_int_counter (for a particular qib_devdata)
- qib_sps_ints (for all HCAs)
A z_int_counter is added to allow the interrupt detection logic
to determine if interrupts have occured since z_int_counter
was "reset".
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions