aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrendan Jackman <[email protected]>2021-01-14 18:17:43 +0000
committerAlexei Starovoitov <[email protected]>2021-01-14 18:34:28 -0800
commite5f02caccfae94f5baf6ec6dbb57ce8a7e9a40e7 (patch)
tree15667b52f0e208f3777fbf0973899d785685fa07 /tools/perf/scripts/python
parent74007cfc1f71e47394ca173b93d28afd0529fc86 (diff)
bpf: x86: Factor out a lookup table for some ALU opcodes
A later commit will need to lookup a subset of these opcodes. To avoid duplicating code, pull out a table. The shift opcodes won't be needed by that later commit, but they're already duplicated, so fold them into the table anyway. Signed-off-by: Brendan Jackman <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions