diff options
author | Adrian Moreno <[email protected]> | 2024-07-04 10:56:57 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-07-05 17:45:47 -0700 |
commit | 71763d8a8203c28178d7be7f18af73d4dddb36ba (patch) | |
tree | b9c506833f49b485c9730a4a19ab277afa92c8f5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | aae0b82b46cb5004bdf82a000c004d69a0885c33 (diff) |
net: openvswitch: store sampling probability in cb.
When a packet sample is observed, the sampling rate that was used is
important to estimate the real frequency of such event.
Store the probability of the parent sample action in the skb's cb area
and use it in psample action to pass it down to psample module.
Reviewed-by: Aaron Conole <[email protected]>
Acked-by: Eelco Chaudron <[email protected]>
Reviewed-by: Ilya Maximets <[email protected]>
Signed-off-by: Adrian Moreno <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions