aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Daney <[email protected]>2017-08-18 16:40:33 -0700
committerDavid S. Miller <[email protected]>2017-08-21 10:31:34 -0700
commit6035b3faf3e58ee6eb423a45a1b7b7c3b4c8dc9f (patch)
tree173c544e8134dcfae4572e8b2db5eed44cf122a8 /tools/perf/scripts/python
parenta67b375fdc5b21ae3a15761f9c5ef7bd352b5f7d (diff)
MIPS,bpf: Cache value of BPF_OP(insn->code) in eBPF JIT.
The code looks a little cleaner if we replace BPF_OP(insn->code) with the local variable bpf_op. Caching the value this way also saves 300 bytes (about 1%) in the code size of the JIT. Signed-off-by: David Daney <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions