From: Anju T <anju@linux.vnet.ibm.com>
To: Denis Kirjanov <kda@linux-powerpc.org>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
maddy@linux.vnet.ibm.com, acme@redhat.com,
hemant@linux.vnet.ibm.com, dsahern@gmail.com,
naveen.n.rao@linux.vnet.ibm.com, sukadev@linux.vnet.ibm.com,
jolsa@redhat.com, khandual@linux.vnet.ibm.com,
mpe@ellerman.id.au, anju@linux.vnet.ibm.com
Subject: Re: [PATCH V2 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc
Date: Wed, 28 Oct 2015 00:22:19 +0530 [thread overview]
Message-ID: <562FC7E3.7090101@linux.vnet.ibm.com> (raw)
In-Reply-To: <CAOJe8K2FPkWMYPPX+aSNE01pQc6E9w7B0GVMHB8H4QfOvteDoA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3102 bytes --]
Hi Denis,
On Monday 26 October 2015 06:47 PM, Denis Kirjanov wrote:
> On 10/26/15, Anju T <anju@linux.vnet.ibm.com> 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 commands to test this feature in the 3rd
patch of this series,but not detailed.
To test this patch,
Eg:
$perf record -I ls // record machine state at interrupt
$perf script -D //read the perf.data file
Sample output obtained for this patch / output looks like as follows:
179614739048 0xb90 [0x190]: PERF_RECORD_SAMPLE(IP, 0x1): 4130/4130:
0xc0000000001dde88 period: 1 addr: 0
... intr regs: mask 0xfffffffffff ABI 64-bit
.... gpr0 0xc0000000001e6974
.... gpr1 0xc000001e48ad79a0
.... gpr2 0xc000000001523400
.... gpr3 0x1
.... gpr4 0xc000000fd7c76600
.... gpr5 0x29d1df51d8
.... gpr6 0x1e000000
.... gpr7 0x0
.... gpr8 0x0
.... gpr9 0x0
.... gpr10 0x1
.... gpr11 0x0
.... gpr12 0x24022822
.... gpr13 0xc00000000fee4c80
.... gpr14 0x0
.... gpr15 0xc0000000fcab3800
.... gpr16 0x0
.... gpr17 0xc000000ffa445000
.... gpr18 0xc000001e48ad78a0
.... gpr19 0xc000000001523400
.... gpr20 0xc0000000000a09bc
.... gpr21 0xc000001e3c11d100
.... gpr22 0xc0000000001e54a8
.... gpr23 0xc000000001523400
.... gpr24 0xc000001e48ad7850
.... gpr25 0xc000001e3c11d100
.... gpr26 0xc000001e48a71790
.... gpr27 0xfffffffffffffead
.... gpr28 0x0
.... gpr29 0xc000001e3c11d100
.... gpr30 0x1
.... gpr31 0x0
.... nip 0xc00000000000fe8c
.... msr 0x9000000000009032
.... orig_r3 0xc0000000001e6978
.... ctr 0xc00000000009e1f0
.... link 0xc0000000001e697c
.... xer 0x0
.... ccr 0x84022884
.... softe 0x1
.... trap 0xf01
.... dar 0x0
.... dsisr 0x300040060000004
.... result 0x0
... thread: :4130:4130
...... dso: /root/.debug/.build-id/82/8d2c7bac560dc9aac8bf6289f26504e22d6883
:4130 4130 179.614739: 1 cycles: c0000000001dde88 .perf_ctx_unlock
(/boot/vmlinux)
0xd20 [0x190]: event: 9
>> 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/powerpc/Kconfig | 1 +
>> arch/powerpc/include/uapi/asm/perf_regs.h | 55 +++++++++++++
>> arch/powerpc/perf/Makefile | 1 +
>> arch/powerpc/perf/perf_regs.c | 87 ++++++++++++++++++++
>> tools/perf/arch/powerpc/include/perf_regs.h | 118
>> ++++++++++++++++++++++++++++
>> tools/perf/config/Makefile | 5 ++
>> 6 files changed, 267 insertions(+)
>> create mode 100644 arch/powerpc/include/uapi/asm/perf_regs.h
>> create mode 100644 arch/powerpc/perf/perf_regs.c
>> create mode 100644 tools/perf/arch/powerpc/include/perf_regs.h
>>
>> --
>> 2.1.0
>>
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev
Thanks and regards
Anju
[-- Attachment #2: Type: text/html, Size: 7488 bytes --]
prev parent reply other threads:[~2015-10-27 18:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 12:44 [PATCH V2 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc Anju T
2015-10-26 12:44 ` [PATCH V2 1/3] perf/powerpc:add ability to sample intr machine state in power Anju T
2015-10-28 10:20 ` Madhavan Srinivasan
2015-10-26 12:44 ` [PATCH V2 2/3] tools/perf:Map the ID values with register names Anju T
2015-10-26 12:44 ` [PATCH V2 3/3] perf/powerpc :add support for sampling intr machine state Anju T
2015-10-30 7:34 ` Madhavan Srinivasan
2015-10-26 13:17 ` [PATCH V2 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc Denis Kirjanov
2015-10-27 18:52 ` Anju T [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=562FC7E3.7090101@linux.vnet.ibm.com \
--to=anju@linux.vnet.ibm.com \
--cc=acme@redhat.com \
--cc=dsahern@gmail.com \
--cc=hemant@linux.vnet.ibm.com \
--cc=jolsa@redhat.com \
--cc=kda@linux-powerpc.org \
--cc=khandual@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.vnet.ibm.com \
--cc=mpe@ellerman.id.au \
--cc=naveen.n.rao@linux.vnet.ibm.com \
--cc=sukadev@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).