aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2021-03-11 14:24:16 +0200
committerDavid S. Miller <[email protected]>2021-03-11 16:22:39 -0800
commitcf31190ae0b788159a9874f0b28bbfde994741cd (patch)
treea06fea40c1ae27e95fe78d2cade39419aa68680b /tools/perf/scripts/python/stackcollapse.py
parent34a277212c67a395b47b715aa89c4b4e2c957d42 (diff)
mlxsw: spectrum_matchall: Implement sampling using mirroring
Spectrum-2 and later ASICs support sampling of packets by mirroring to the CPU with probability. There are several advantages compared to the legacy dedicated sampling mechanism: * Extra metadata per-packet: Egress port, egress traffic class, traffic class occupancy and end-to-end latency * Ability to sample packets on egress / per-flow Convert Spectrum-2 and later ASICs to perform sampling by mirroring to the CPU with probability. Subsequent patches will add support for egress / per-flow sampling and expose the extra metadata. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions