aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/string.c
diff options
context:
space:
mode:
authorAthira Rajeev <[email protected]>2024-07-18 08:43:46 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-07-31 19:12:59 +0000
commitb1d8d968a7983e9756de34b8bcaa24cc339828ed (patch)
tree05de981c41f7b45f199475d17df2e101e5d0e4c0 /tools/lib/string.c
parentperf annotate: Add "update_insn_state" callback function to handle arch speci... (diff)
downloadkernel-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/lib/string.c')
0 files changed, 0 insertions, 0 deletions