aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2019-02-06 13:30:18 +0100
committerDavid S. Miller <[email protected]>2019-02-06 13:40:08 -0800
commitdeedf1feb255c7a390309f615e50de37cb82fb61 (patch)
tree6bd19596f8d8862ae28b99259db0c62ae7f24ab2 /tools/perf/scripts/python/stackcollapse.py
parent04c7788c2bb3542e5c8c9d7175193e4d925edf20 (diff)
r8169: Avoid pointer aliasing
Read MAC address 32-bit at a time and manually extract the individual bytes. This avoids pointer aliasing and gives the compiler a better chance of optimizing the operation. Suggested-by: Andrew Lunn <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Reviewed-by: Andrew Lunn <[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