summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZecheng Li <zli94@ncsu.edu>2026-03-09 13:55:21 -0400
committerNamhyung Kim <namhyung@kernel.org>2026-03-19 14:42:29 -0700
commit22b320777c5f496a36867f16f18870e67b123020 (patch)
tree66c426c3a01296a7ad186825b5eb1db6aeb65b83 /tools/perf/scripts/python/export-to-sqlite.py
parent1b8db0c963bf788392976bea87f0ef8d227c4930 (diff)
perf annotate-data: Add invalidate_reg_state() helper for x86
Add a helper function to consistently invalidate register state instead of field assignments. This ensures kind, ok, and copied_from are all properly cleared when a register becomes invalid. The helper sets: - kind = TSR_KIND_INVALID - ok = false - copied_from = -1 Replace all invalidation patterns with calls to this helper. No functional change and this removes some incorrect annotations that were caused by incomplete invalidation (e.g. a obsolete copied_from from an invalidated register). Signed-off-by: Zecheng Li <zli94@ncsu.edu> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions