Searched hist:"88444952 bdfe27fcc91b1c499a0f77675db592a9" (Results 1 – 3 of 3) sorted by relevance
/linux/tools/perf/arch/powerpc/annotate/ |
H A D | instructions.c | diff 88444952bdfe27fcc91b1c499a0f77675db592a9 Thu Jul 18 10:43:54 CEST 2024 Athira Rajeev <atrajeev@linux.vnet.ibm.com> perf annotate: Update instruction tracking for powerpc
Add instruction tracking function "update_insn_state_powerpc" for powerpc. Example sequence in powerpc:
ld r10,264(r3) mr r31,r3 <<after some sequence> ld r9,312(r31)
Consider ithe sample is pointing to: "ld r9,312(r31)".
Here the memory reference is hit at "312(r31)" where 312 is the offset and r31 is the source register.
Previous instruction sequence shows that register state of r3 is moved to r31.
So to identify the data type for r31 access, the previous instruction ("mr") needs to be tracked and the state type entry has to be updated.
Current instruction tracking support in perf tools infrastructure is specific to x86. Patch adds this support for powerpc as well.
Reviewed-by: Kajol Jain <kjain@linux.ibm.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Tested-by: Kajol Jain <kjain@linux.ibm.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Akanksha J N <akanksha@linux.ibm.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Disha Goel <disgoel@linux.vnet.ibm.com> Cc: Hari Bathini <hbathini@linux.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Madhavan Srinivasan <maddy@linux.ibm.com> Cc: Segher Boessenkool <segher@kernel.crashing.org> Link: https://lore.kernel.org/lkml/20240718084358.72242-12-atrajeev@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
/linux/tools/perf/util/ |
H A D | disasm.c | diff 88444952bdfe27fcc91b1c499a0f77675db592a9 Thu Jul 18 10:43:54 CEST 2024 Athira Rajeev <atrajeev@linux.vnet.ibm.com> perf annotate: Update instruction tracking for powerpc
Add instruction tracking function "update_insn_state_powerpc" for powerpc. Example sequence in powerpc:
ld r10,264(r3) mr r31,r3 <<after some sequence> ld r9,312(r31)
Consider ithe sample is pointing to: "ld r9,312(r31)".
Here the memory reference is hit at "312(r31)" where 312 is the offset and r31 is the source register.
Previous instruction sequence shows that register state of r3 is moved to r31.
So to identify the data type for r31 access, the previous instruction ("mr") needs to be tracked and the state type entry has to be updated.
Current instruction tracking support in perf tools infrastructure is specific to x86. Patch adds this support for powerpc as well.
Reviewed-by: Kajol Jain <kjain@linux.ibm.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Tested-by: Kajol Jain <kjain@linux.ibm.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Akanksha J N <akanksha@linux.ibm.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Disha Goel <disgoel@linux.vnet.ibm.com> Cc: Hari Bathini <hbathini@linux.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Madhavan Srinivasan <maddy@linux.ibm.com> Cc: Segher Boessenkool <segher@kernel.crashing.org> Link: https://lore.kernel.org/lkml/20240718084358.72242-12-atrajeev@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
H A D | annotate-data.c | diff 88444952bdfe27fcc91b1c499a0f77675db592a9 Thu Jul 18 10:43:54 CEST 2024 Athira Rajeev <atrajeev@linux.vnet.ibm.com> perf annotate: Update instruction tracking for powerpc
Add instruction tracking function "update_insn_state_powerpc" for powerpc. Example sequence in powerpc:
ld r10,264(r3) mr r31,r3 <<after some sequence> ld r9,312(r31)
Consider ithe sample is pointing to: "ld r9,312(r31)".
Here the memory reference is hit at "312(r31)" where 312 is the offset and r31 is the source register.
Previous instruction sequence shows that register state of r3 is moved to r31.
So to identify the data type for r31 access, the previous instruction ("mr") needs to be tracked and the state type entry has to be updated.
Current instruction tracking support in perf tools infrastructure is specific to x86. Patch adds this support for powerpc as well.
Reviewed-by: Kajol Jain <kjain@linux.ibm.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Tested-by: Kajol Jain <kjain@linux.ibm.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Akanksha J N <akanksha@linux.ibm.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: Disha Goel <disgoel@linux.vnet.ibm.com> Cc: Hari Bathini <hbathini@linux.ibm.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Madhavan Srinivasan <maddy@linux.ibm.com> Cc: Segher Boessenkool <segher@kernel.crashing.org> Link: https://lore.kernel.org/lkml/20240718084358.72242-12-atrajeev@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|