aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRichard Sanger <[email protected]>2021-05-12 13:31:22 +1200
committerDavid S. Miller <[email protected]>2021-05-12 14:00:04 -0700
commit171c3b151118a2fe0fc1e2a9d1b5a1570cfe82d2 (patch)
treea5494bf5a8fd4b915b18cb0a233a7920d4f3b108 /tools/perf/scripts/python/stackcollapse.py
parentaa473d6ceb821d7c568c64cca7fff3e86ba9d789 (diff)
net: packetmmap: fix only tx timestamp on request
The packetmmap tx ring should only return timestamps if requested via setsockopt PACKET_TIMESTAMP, as documented. This allows compatibility with non-timestamp aware user-space code which checks tp_status == TP_STATUS_AVAILABLE; not expecting additional timestamp flags to be set in tp_status. Fixes: b9c32fb27170 ("packet: if hw/sw ts enabled in rx/tx ring, report which ts we got") Cc: Daniel Borkmann <[email protected]> Cc: Willem de Bruijn <[email protected]> Signed-off-by: Richard Sanger <[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