summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2020-04-23 17:20:17 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-23 12:50:20 -0700
commit3bfd41b57811d76412af57f4884e28ad78c2ab2f (patch)
tree552df8022d1fb9e26bd8a18d13356c280d2d5d24 /tools/perf/scripts/python/stackcollapse.py
parent856e59ab7e6d3c85ee739f3f53341d47c88d454e (diff)
net: ethernet: ti: cpts: optimize packet to event matching
Now the CPTS driver performs packet (skb) parsing every time when it needs to match packet to CPTS event (including ptp_classify_raw() calls). This patch optimizes matching process by parsing packet only once upon arrival and stores PTP specific data in skb->cb using the same fromat as in CPTS HW event. As result, all future matching reduces to comparing two u32 values. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions