he current instruction.
This patch verifies whether the target address is within +/- 32MB
range or not.
Signed-off-by: Naveen N. Rao
Signed-off-by: Anju T Sudhakar
---
arch/powerpc/include/asm/code-patching.h | 1 +
arch/powerpc/lib/code-patching.c | 24 +++-
2 files c
From: "Naveen N. Rao"
Introduce __PPC_SH64() as a 64-bit variant to encode shift field in some
of the shift and rotate instructions operating on double-words. Convert
some of the BPF instruction macros to use the same.
Signed-off-by: Naveen N. Rao
---
arch/powerpc/include/asm/ppc-opcode.h | 1
Kprobe placed on the kretprobe_trampoline during boot time can be
optimized, since the instruction at probe point is a 'nop'.
Signed-off-by: Anju T Sudhakar
Acked-by: Masami Hiramatsu
---
arch/powerpc/kernel/kprobes.c | 8
arch/powerpc/kernel/optprobes.c | 7 +++---
buffer allocated and the instruction being probed
is within ?? 32MB.
Signed-off-by: Anju T Sudhakar
Signed-off-by: Naveen N. Rao
---
.../features/debug/optprobes/arch-support.txt | 2 +-
arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/kprobes.h
ressed.
- Description in the cover letter is modified a bit.
Kindly let me know your suggestions and comments.
Thanks,
-Anju
Anju T Sudhakar (2):
arch/powerpc: Implement Optprobes
arch/powerpc: Optimize kprobe in kretprobe_trampoline
Naveen N. Rao (2):
powerpc: asm/ppc-opcode.h: introduce __PP
Hi Balbir,
On Friday 16 December 2016 08:16 PM, Balbir Singh wrote:
On 15/12/16 03:18, Anju T Sudhakar wrote:
This is the V2 patchset of the kprobes jump optimization
(a.k.a OPTPROBES)for powerpc. Kprobe being an inevitable tool
for kernel developers, enhancing the performance of kprobe has
Hi Masami,
On Friday 16 December 2016 07:32 PM, Masami Hiramatsu wrote:
On Wed, 14 Dec 2016 21:48:27 +0530
Anju T Sudhakar wrote:
Detour buffer contains instructions to create an in memory pt_regs.
After the execution of the pre-handler, a call is made for instruction
emulation.
The NIP
Hi Masami,
Thank you for reviewing the patch set.
On Friday 16 December 2016 05:22 PM, Masami Hiramatsu wrote:
On Wed, 14 Dec 2016 21:48:30 +0530
Anju T Sudhakar wrote:
From: "Naveen N. Rao"
The coding is OK to me. Please add a description for this patch
here, e.g. what is do
From: "Naveen N. Rao"
Signed-off-by: Naveen N. Rao
Signed-off-by: Anju T Sudhakar
---
arch/powerpc/include/asm/code-patching.h | 1 +
arch/powerpc/lib/code-patching.c | 24 +++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/arch/power
From: "Naveen N. Rao"
Introduce __PPC_SH64() as a 64-bit variant to encode shift field in some
of the shift and rotate instructions operating on double-words. Convert
some of the BPF instruction macros to use the same.
Signed-off-by: Naveen N. Rao
---
arch/powerpc/include/asm/ppc-opcode.h | 1
Kprobe placed on the kretprobe_trampoline during boot time can be
optimized, since the instruction at probe point is a 'nop'.
Signed-off-by: Anju T Sudhakar
---
arch/powerpc/kernel/kprobes.c | 8
arch/powerpc/kernel/optprobes.c | 7 +++
2 files changed, 11 insert
buffer allocated and the instruction being probed
is within ?? 32MB.
Signed-off-by: Anju T Sudhakar
Signed-off-by: Naveen N. Rao
---
.../features/debug/optprobes/arch-support.txt | 2 +-
arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/kprobes.h
in V1 into a single patch.
- Comments by Masami are addressed.
- Some helper functions are implemented in separate patches.
- Optimization for kprobe placed on the kretprobe_trampoline during
boot time is implemented.
Kindly let me know your suggestions and comments.
Thanks,
-Anju
Anju T Su
Hi Masami,
Thank you for reviewing the patch.
On Thursday 08 September 2016 10:17 PM, Masami Hiramatsu wrote:
On Wed, 7 Sep 2016 15:03:11 +0530
Anju T Sudhakar wrote:
Instructions which can be emulated are suppliants for optimization.
Before optimization ensure that the address range
Instructions which can be emulated are suppliants for optimization.
Before optimization ensure that the address range between the detour
buffer allocated and the instruction being probed is within ?? 32MB.
Signed-off-by: Anju T Sudhakar
---
arch/powerpc/include/asm/sstep.h | 1 +
arch/powerpc
Mark optprobe 'ok' for powerpc
Signed-off-by: Anju T Sudhakar
---
Documentation/features/debug/optprobes/arch-support.txt | 2 +-
arch/powerpc/Kconfig| 1 +
arch/powerpc/kernel/Makefile| 1 +
3 files changed, 3 insert
slot for detour buffer is allocated from the reserved area.
For the time being 64KB is reserved in memory for this purpose.
Signed-off-by: Anju T Sudhakar
---
arch/powerpc/include/asm/kprobes.h | 24 +++
arch/powerpc/kernel/optprobes_head.S | 119 +++
2 files
rbe(in case of branch instructions) is limited to
unconditional branch instructions only, since the conditional
branches are to be assessed carefully in SMP systems.
- create_return_branch() is omitted.
- Comments by Masami are addressed.
Anju T Sudhakar (3):
arch/powerpc : Add detour buffer s
Signed-off-by: Anju T
---
Documentation/features/debug/optprobes/arch-support.txt | 2 +-
arch/powerpc/Kconfig| 1 +
arch/powerpc/kernel/Makefile| 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation
Instructions which can be emulated are suppliants for
optimization. Before optimization ensure that the address range
between the detour buffer allocated and the instruction being probed
is within +/- 32MB.
Signed-off-by: Anju T
---
arch/powerpc/kernel/optprobes.c | 351
slot for detour buffer is allocated from
the reserved area. For the time being 64KB is reserved
in memory for this purpose.
Signed-off-by: Anju T
---
arch/powerpc/include/asm/kprobes.h | 27 +++
arch/powerpc/kernel/optprobes_head.S | 136 +++
2 files changed
w your suggestions and comments.
Thanks
-Anju
Anju T (3):
arch/powerpc : Add detour buffer support for optprobes
arch/powerpc : optprobes for powerpc core
arch/powerpc : Enable optprobes support in powerpc
.../features/debug/optprobes/arch-support.txt | 2 +-
arch/powerpc/K
Hi,
On Friday 20 May 2016 06:07 PM, Masami Hiramatsu wrote:
Hi Anju,
Please see my comments below,
On Thu, 19 May 2016 20:40:39 +0530
Anju T wrote:
ppc_get_optinsn_slot() and ppc_free_optinsn_slot() are
geared towards the allocation and freeing of memory from
the area reserved for detour
Signed-off-by: Anju T
---
Documentation/features/debug/optprobes/arch-support.txt | 2 +-
arch/powerpc/Kconfig| 1 +
arch/powerpc/kernel/Makefile| 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation
ppc_get_optinsn_slot() and ppc_free_optinsn_slot() are
geared towards the allocation and freeing of memory from
the area reserved for detour buffer.
Signed-off-by: Anju T
---
arch/powerpc/kernel/optprobes.c | 480
1 file changed, 480 insertions
slot for detour buffer is allocated from
the reserved area. For the time being 64KB is reserved
in memory for this purpose.
Signed-off-by: Anju T
---
arch/powerpc/include/asm/kprobes.h | 25
arch/powerpc/kernel/optprobes_head.S | 108 +++
2 files changed
ressed.
Kindly let me know your suggestions and comments.
Thanks
-Anju
Anju T (3):
arch/powerpc : Add detour buffer support for optprobes
arch/powerpc : optprobes for powerpc core
arch/powerpc : Enable optprobes support in powerpc
.../features/debug/optprobes/arch-support.txt
Hi Masami,
Thank you for reviewing the patch.
On Wednesday 18 May 2016 08:43 PM, Masami Hiramatsu wrote:
On Wed, 18 May 2016 02:09:37 +0530
Anju T wrote:
Instruction slot for detour buffer is allocated from
the reserved area. For the time being 64KB is reserved
in memory for this purpose
Signed-off-by: Anju T
---
Documentation/features/debug/optprobes/arch-support.txt | 2 +-
arch/powerpc/Kconfig| 1 +
arch/powerpc/kernel/Makefile| 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation
Instruction slot for detour buffer is allocated from
the reserved area. For the time being 64KB is reserved
in memory for this purpose. ppc_get_optinsn_slot() and
ppc_free_optinsn_slot() are geared towards the allocation and freeing
of memory from this area.
Signed-off-by: Anju T
---
arch
: Anju T
---
arch/powerpc/include/asm/kprobes.h | 25 +
arch/powerpc/kernel/optprobes_head.S | 104 +++
2 files changed, 129 insertions(+)
create mode 100644 arch/powerpc/kernel/optprobes_head.S
diff --git a/arch/powerpc/include/asm/kprobes.h
b/arch
e only candidates for
optimization.
Kindly let me know your suggestions and comments.
Thanks
-Anju
Anju T (3):
arch/powerpc : Add detour buffer support for optprobes
arch/powerpc : optprobes for powerpc core
arch/powerpc : Enable optprobes support in powerpc
.../features/debug/opt
On Saturday 20 February 2016 10:32 AM, Anju T wrote:
This short patch series adds the ability to sample the interrupted
machine state for each hardware sample.
To test this patchset,
Eg:
$ perf record -I? # list supported registers
output:
available registers: r0 r1 r2 r3 r4 r5 r6 r7 r8
Hi,
Any updates on this?
On Saturday 20 February 2016 10:32 AM, Anju T wrote:
This short patch series adds the ability to sample the interrupted
machine state for each hardware sample.
To test this patchset,
Eg:
$ perf record -I? # list supported registers
output:
available registers
From: Madhavan Srinivasan
Add sample_reg_mask array with pt_regs registers.
This is needed for printing supported regs ( -I? option).
Signed-off-by: Madhavan Srinivasan
---
tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/perf_regs.c | 49 ++
/vmlinux)
Signed-off-by: Anju T
---
tools/perf/arch/powerpc/include/perf_regs.h | 69 +
tools/perf/config/Makefile | 5 +++
2 files changed, 74 insertions(+)
create mode 100644 tools/perf/arch/powerpc/include/perf_regs.h
diff --git a/tools/perf/arch
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/perf/perf_regs.c | 91 +++
3 files changed, 93 insertions(+)
create mode 100644 arch/powerpc
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h.
Signed-off-by: Anju T
---
arch/powerpc/include/uapi/
ed here,
it is removed from tools/perf/arch/powerpc/include/perf_regs.h
- PERF_REGS_POWERPC_RESULT is removed.
Changes from V1:
- Solved the name missmatch issue in the from and signed-off field of the patch
series.
- Added necessary comments in the 3rd patch ie perf/powerpc ,as suggested by
M
Hi mpe,
On Wednesday 20 January 2016 04:10 PM, Michael Ellerman wrote:
On Mon, 2016-01-11 at 15:58 +0530, Anju T wrote:
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 9a7057e..c4ce60d 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -119,6 +119,7 @@ config PPC
Hi mpe,
On Wednesday 20 January 2016 04:16 PM, Michael Ellerman wrote:
On Mon, 2016-01-11 at 15:58 +0530, Anju T wrote:
diff --git a/tools/perf/arch/powerpc/include/perf_regs.h
b/tools/perf/arch/powerpc/include/perf_regs.h
new file mode 100644
index 000..93080f5
--- /dev/null
+++ b/tools
On Wednesday 20 January 2016 04:08 PM, Michael Ellerman wrote:
Hi Anju,
On Mon, 2016-01-11 at 15:58 +0530, Anju T wrote:
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based
From: Madhavan Srinivasan
Add sample_reg_mask array with pt_regs registers.
This is needed for printing supported regs ( -I? option).
Signed-off-by: Madhavan Srinivasan
---
tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/perf_regs.c | 48 ++
(/boot/vmlinux)
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
tools/perf/arch/powerpc/include/perf_regs.h | 64 +
tools/perf/config/Makefile | 5 +++
2 files changed, 69 insertions(+)
create mode 100644 tools/perf/arch/powerpc/include
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/perf/perf_regs.c | 85 +++
3 files changed, 87 insertions
es from V1:
- Solved the name missmatch issue in the from and signed-off field of the patch
series.
- Added necessary comments in the 3rd patch ie perf/powerpc ,as suggested by
Maddy.
Anju T (3):
perf/powerpc: assign an id to each powerpc register
perf/powerpc: add support for sampling i
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasa
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/perf/perf_regs.c | 85 +++
3 files changed, 87 insertions
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasa
es from V1:
- Solved the name missmatch issue in the from and signed-off field of the patch
series.
- Added necessary comments in the 3rd patch ie perf/powerpc ,as suggested by
Maddy.
Anju T (3):
perf/powerpc: assign an id to each powerpc register
perf/powerpc: add support for sampling i
(/boot/vmlinux)
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
tools/perf/arch/powerpc/include/perf_regs.h | 64 +
tools/perf/config/Makefile | 5 +++
2 files changed, 69 insertions(+)
create mode 100644 tools/perf/arch/powerpc/include
From: Madhavan Srinivasan
Add sample_reg_mask array with pt_regs registers.
This is needed for printing supported regs ( -I? option).
Signed-off-by: Madhavan Srinivasan
---
tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/perf_regs.c | 48 ++
From: Madhavan Srinivasan
Add sample_reg_mask array with pt_regs registers.
This is needed for printing supported regs ( -I? option).
Signed-off-by: Madhavan Srinivasan
---
tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/perf_regs.c | 48 ++
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/perf/perf_regs.c | 85 +++
3 files changed, 87 insertions
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasa
c ,as suggested by
Maddy.
Anju T (3):
perf/powerpc: assign an id to each powerpc register
perf/powerpc: add support for sampling intr machine state
tools/perf: Map the ID values with register names
Madhavan Srinivasan (1):
tool/perf: Add sample_reg_mask to include all perf_regs regs
(/boot/vmlinux)
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
tools/perf/arch/powerpc/include/perf_regs.h | 64 +
tools/perf/config/Makefile | 5 +++
2 files changed, 69 insertions(+)
create mode 100644 tools/perf/arch/powerpc/include
From: Madhavan Srinivasan
Add sample_reg_mask array with pt_regs registers.
This is needed for printing supported regs ( -I? option).
Signed-off-by: Madhavan Srinivasan
---
tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/perf_regs.c | 48 ++
(/boot/vmlinux)
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
tools/perf/arch/powerpc/include/perf_regs.h | 64 +
tools/perf/config/Makefile | 5 +++
2 files changed, 69 insertions(+)
create mode 100644 tools/perf/arch/powerpc/include
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/perf/perf_regs.c | 85 +++
3 files changed, 87 insertions
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasa
egs.h
- PERF_REGS_POWERPC_RESULT is removed.
Changes from V1:
- Solved the name missmatch issue in the from and signed-off field of the patch
series.
- Added necessary comments in the 3rd patch ie perf/powerpc ,as suggested by
Maddy.
Anju T (3):
perf/powerpc: assign an id to each powerpc reg
om V1:
- Solved the name missmatch issue in the from and signed-off field of the patch
series.
- Added necessary comments in the 3rd patch ie perf/powerpc ,as suggested by
Maddy.
Anju T (3):
perf/powerpc: assign an id to each powerpc register
perf/powerpc: add support for sampling intr machine
(/boot/vmlinux)
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
tools/perf/arch/powerpc/include/perf_regs.h | 65 +
tools/perf/config/Makefile | 5 +++
2 files changed, 70 insertions(+)
create mode 100644 tools/perf/arch/powerpc/include
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasa
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/perf/perf_regs.c | 85 +++
3 files changed, 87 insertions
From: Madhavan Srinivasan
Add sample_reg_mask array with pt_regs registers.
This is needed for printing supported regs ( -I? option).
Signed-off-by: Madhavan Srinivasan
---
tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/perf_regs.c | 48 ++
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/perf/perf_regs.c | 85 +++
3 files changed, 87 insertions
From: Madhavan Srinivasan
Add sample_reg_mask array with pt_regs registers.
This is needed for printing supported regs ( -I? option).
Signed-off-by: Madhavan Srinivasan
---
tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/perf_regs.c | 48 ++
(/boot/vmlinux)
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasan
---
tools/perf/arch/powerpc/include/perf_regs.h | 65 +
tools/perf/config/Makefile | 5 +++
2 files changed, 70 insertions(+)
create mode 100644 tools/perf/arch/powerpc/include
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h.
Signed-off-by: Anju T
Reviewed-by : Madhavan Srinivasa
/perf/arch/powerpc/include/perf_regs.h
- PERF_REGS_POWERPC_RESULT is removed.
Changes from V1:
- Solved the name missmatch issue in the from and signed-off field of the patch
series.
- Added necessary comments in the 3rd patch ie perf/powerpc ,as suggested by
Maddy.
Anju T (3):
perf/powerpc: a
Hi Denis,
On Wednesday 04 November 2015 02:26 PM, Denis Kirjanov wrote:
On 11/3/15, Anju T wrote:
This short patch series adds the ability to sample the interrupted
machine state for each hardware sample.
To test this patchset,
Eg:
$perf record -I ls // record machine state at interrupt
Hi Michael,
On Tuesday 03 November 2015 02:46 PM, Michael Ellerman wrote:
On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote:
The perf infrastructure uses a bit mask to find out
valid registers to display. Define a register mask
for supported registers defined in asm/perf_regs.h.
The bit
Hi Michael,
On Tuesday 03 November 2015 02:46 PM, Michael Ellerman wrote:
On Tue, 2015-11-03 at 11:40 +0530, Anju T wrote:
The perf infrastructure uses a bit mask to find out
valid registers to display. Define a register mask
for supported registers defined in asm/perf_regs.h.
The bit
Map ID values with corresponding register names.These names are then
displayed when user issues perf record with the -I option
followed by perf report/script with -D option.
Signed-off-by: Anju T
---
tools/perf/arch/powerpc/include/perf_regs.h | 114
tools/perf
enables
sampling of the interrupted machine state.
Signed-off-by: Anju T
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 2 +
arch/powerpc/perf/perf_regs.c | 92 +++
3 files changed, 95 insertions(+)
create mode 100644 arch/powerpc
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc.The order of these values in the enum definition are
based on the corresponding macros in
arch/powerpc/include/uapi/asm/ptrace.h .
Signed-off-by: Anju T
---
arch/powerpc/include/uapi/
/config/Makefile is moved to the patch tools/perf.
- The patchset is reordered.
- perf_regs_load() function is used for the dwarf unwind test.Since it is not
required here,
it is removed from tools/perf/arch/powerpc/include/perf_regs.h
- PERF_REGS_POWERPC_RESULT is removed.
Anju T (3
Hi Denis,
On Monday 26 October 2015 06:47 PM, Denis Kirjanov wrote:
On 10/26/15, Anju T wrote:
This short patch series add the ability to sample the interrupted
machine state for each hardware sample
Hi,
how can we check your patch series without testing details?
I have mentioned about the
the "PERF" register ids to find offset of the register in
'struct pt_regs'.
CONFIG_HAVE_PERF_REGS will enable sampling of the interrupted machine state.
Signed-off-by: Anju T
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/perf/Makefile| 1 +
arch/powerpc/p
The id values are mapped with the corresponding register names.
This names are displayed while using a perf report/perf script command.
Signed-off-by: Anju T
---
tools/perf/arch/powerpc/include/perf_regs.h | 118
1 file changed, 118 insertions(+)
create mode 100644
The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc.The order of these values in the enum definition are
based on the corresponding macros in
arch/powerpc/include/uapi/asm/ptrace.h .
Signed-off-by: Anju T
---
arch/powerpc/include/uapi/
This short patch series add the ability to sample the interrupted
machine state for each hardware sample
Anju (3):
perf/powerpc:add ability to sample intr machine state in power
tools/perf:Map the ID values with register names
perf/powerpc:add support for sampling intr machine state
arch
201 - 284 of 284 matches
Mail list logo