summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZecheng Li <zecheng@google.com>2025-10-13 18:15:58 +0000
committerNamhyung Kim <namhyung@kernel.org>2025-10-21 06:02:49 -0700
commit068b6a4524262910bc283c7b3c2d7cf0d2c1f833 (patch)
tree5c64fc94d66c3984eb8de2b9f27789b1cd223d61 /tools/perf/scripts/python
parentf1204e5846d22fb2fffbd1164eeb19535f306797 (diff)
downloadlinux-068b6a4524262910bc283c7b3c2d7cf0d2c1f833.tar.gz
linux-068b6a4524262910bc283c7b3c2d7cf0d2c1f833.zip
perf annotate: Skip annotating data types to lea instructions
Introduce a helper function is_address_gen_insn() to check arch-dependent address generation instructions like lea in x86. Remove type annotation on these instructions since they are not accessing memory. It should be counted as `no_mem_ops`. Signed-off-by: Zecheng Li <zecheng@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions