diff options
| author | Tengda Wu <wutengda@huaweicloud.com> | 2026-10-20 13:45:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-10-22 17:17:01 -0300 |
| commit | 861ecd5c6c0f03d3bc5c5fa66c480d4d3119cf7a (patch) | |
| tree | cb42f7dbd8063b861827f9cf0db1ede74fd89aa2 /scripts/Makefile.thinlto | |
| parent | aa2cd2e19c81f8a84bafbedad3ae7d16882a353a (diff) | |
| download | linux-861ecd5c6c0f03d3bc5c5fa66c480d4d3119cf7a.tar.gz linux-861ecd5c6c0f03d3bc5c5fa66c480d4d3119cf7a.zip | |
perf annotate-arm64: Support stack variable tracking
Extend update_insn_state_arm64() to track data types stored on the
stack.
The implementation handles:
1. Stack Loads: Identify when a register is loaded from a stack
slot and update the register's type state based on the tracked
stack content or compound member types.
2. Stack Stores: Update or create new stack state entries when
a tracked register type is stored to the stack.
Similar to loads, stores also support saving one or two registers
(in the case of 'stp'). Therefore, propagate_store_reg_state() is
introduced.
With these changes, the instruction tracker can now follow data types
as they move between registers and memory, specifically for function
local variables and compiler-spilled values on arm64.
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Tengda Wu <wutengda@huaweicloud.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
