Re: [PATCH V2 8/9] tools/perf: Add support to find global register variables using find_data_type_global_reg

2024-05-24 Thread Christophe Leroy
Le 24/05/2024 à 14:17, Athira Rajeev a écrit : > > >> On 7 May 2024, at 3:33 PM, Christophe Leroy >> wrote: >> >> >> >> Le 06/05/2024 à 14:19, Athira Rajeev a écrit : >>> There are cases where define a global register variable and associate it >>> with a specified register. Example, in

Re: [PATCH V2 8/9] tools/perf: Add support to find global register variables using find_data_type_global_reg

2024-05-24 Thread Athira Rajeev
> On 7 May 2024, at 3:33 PM, Christophe Leroy > wrote: > > > > Le 06/05/2024 à 14:19, Athira Rajeev a écrit : >> There are cases where define a global register variable and associate it >> with a specified register. Example, in powerpc, two registers are >> defined to represent variable:

Re: [PATCH V2 8/9] tools/perf: Add support to find global register variables using find_data_type_global_reg

2024-05-07 Thread Christophe Leroy
Le 06/05/2024 à 14:19, Athira Rajeev a écrit : > There are cases where define a global register variable and associate it > with a specified register. Example, in powerpc, two registers are > defined to represent variable: > 1. r13: represents local_paca > register struct paca_struct *local_paca

[PATCH V2 8/9] tools/perf: Add support to find global register variables using find_data_type_global_reg

2024-05-06 Thread Athira Rajeev
There are cases where define a global register variable and associate it with a specified register. Example, in powerpc, two registers are defined to represent variable: 1. r13: represents local_paca register struct paca_struct *local_paca asm("r13"); 2. r1: represents stack_pointer register void