diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2020-09-29 11:15:50 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-09-30 18:01:26 -0700 |
| commit | 5b88823bfe0875b327cc041017b5dcbec9dcbcc8 (patch) | |
| tree | f2200fe9d945c0969fdc67dd9d7103769e939b15 /lib/mpi/mpi-sub-ui.c | |
| parent | 8333c1c4ee61c873bdb5327dba858f58de2a98d8 (diff) | |
devlink: Add a tracepoint for trap reports
Add a tracepoint for trap reports so that drop monitor could register
its probe on it. Use trace_devlink_trap_report_enabled() to avoid
wasting cycles setting the trap metadata if the tracepoint is not
enabled.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
