aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2013-01-30 17:51:44 -0800
committerDavid S. Miller <[email protected]>2013-01-30 22:38:34 -0500
commit3b58908a92e00840bcd9050808f3dc86fd547029 (patch)
tree3d3a2f97da69a5681a83cebf46e816e40670e34b /tools/perf/scripts/python
parent45acd3a0a18c5692b34ee9091858c6f6c7b5d4a8 (diff)
x86: bpf_jit_comp: add pkt_type support
Supporting access to skb->pkt_type is a bit tricky if we want to have a generic code, allowing pkt_type to be moved in struct sk_buff pkt_type is a bit field, so compiler cannot really help us to find its offset. Let's use a helper for this : It will throw a one time message if pkt_type no longer starts at a byte boundary or is no longer a 3bit field. Reported-by: Willem de Bruijn <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Cc: Maciej Żenczykowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions