diff options
| author | Tengda Wu <wutengda@huaweicloud.com> | 2026-10-20 13:45:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-10-22 17:17:01 -0300 |
| commit | f6455a6e200d4125e80e527ad6a805523f846400 (patch) | |
| tree | 8b44775a87e3bc2cf0c71b971ca0e3f55c00067e /scripts/Makefile.thinlto | |
| parent | 40431049840b7c1830d494721731bcb58571d9af (diff) | |
| download | linux-f6455a6e200d4125e80e527ad6a805523f846400.tar.gz linux-f6455a6e200d4125e80e527ad6a805523f846400.zip | |
perf annotate-data: Track imm_value for stack variables
Currently, imm_value is tracked in registers but dropped when values
are saved to or loaded from stack variables during type profiling.
If a register of type TSR_KIND_CONST is stored to the stack, its value
will be lost.
Add an imm_value field to struct type_state_stack and update
set_stack_state() and findnew_stack_state() to accept and preserve the
immediate value when updating stack state.
Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com>
Reviewed-by: Ian Rogers <irogers@google.com>
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
