diff options
| author | Athira Rajeev <[email protected]> | 2024-07-18 08:43:46 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-07-31 19:12:59 +0000 |
| commit | b1d8d968a7983e9756de34b8bcaa24cc339828ed (patch) | |
| tree | 05de981c41f7b45f199475d17df2e101e5d0e4c0 /tools/perf/util/annotate.h | |
| parent | perf annotate: Add "update_insn_state" callback function to handle arch speci... (diff) | |
| download | kernel-b1d8d968a7983e9756de34b8bcaa24cc339828ed.tar.gz kernel-b1d8d968a7983e9756de34b8bcaa24cc339828ed.zip | |
perf annotate: Update TYPE_STATE_MAX_REGS to include max of regs in powerpc
TYPE_STATE_MAX_REGS is arch-dependent. Currently this is defined to be
16.
While checking if reg is valid using has_reg_type, max value is checked
using TYPE_STATE_MAX_REGS value.
Define this conditionally for powerpc.
Reviewed-by: Kajol Jain <[email protected]>
Reviewed-by: Namhyung Kim <[email protected]>
Signed-off-by: Athira Rajeev <[email protected]>
Tested-by: Kajol Jain <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Akanksha J N <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Disha Goel <[email protected]>
Cc: Hari Bathini <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Segher Boessenkool <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions
