<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Denis,<br>
On Monday 26 October 2015 06:47 PM, Denis Kirjanov wrote:<br>
</div>
<blockquote
cite="mid:CAOJe8K2FPkWMYPPX+aSNE01pQc6E9w7B0GVMHB8H4QfOvteDoA@mail.gmail.com"
type="cite">
<pre wrap="">On 10/26/15, Anju T <a class="moz-txt-link-rfc2396E" href="mailto:anju@linux.vnet.ibm.com"><anju@linux.vnet.ibm.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">This short patch series add the ability to sample the interrupted
machine state for each hardware sample
</pre>
</blockquote>
<pre wrap="">
Hi,
how can we check your patch series without testing details?
</pre>
</blockquote>
<br>
I have mentioned about the commands to test this feature in the 3rd
patch of this series,but not detailed.<br>
<br>
To test this patch,<br>
Eg:<br>
<br>
$perf record -I ls // record machine state at interrupt<br>
$perf script -D //read the perf.data file<br>
<br>
Sample output obtained for this patch / output looks like as
follows:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p style="margin-bottom: 0cm; line-height: 100%">179614739048 0xb90
[0x190]: PERF_RECORD_SAMPLE(IP, 0x1): 4130/4130:
0xc0000000001dde88
period: 1 addr: 0</p>
<p style="margin-bottom: 0cm; line-height: 100%">... intr regs: mask
0xfffffffffff ABI 64-bit</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr0
0xc0000000001e6974</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr1
0xc000001e48ad79a0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr2
0xc000000001523400</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr3 0x1</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr4
0xc000000fd7c76600</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr5
0x29d1df51d8</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr6
0x1e000000</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr7 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr8 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr9 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr10 0x1</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr11 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr12
0x24022822</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr13
0xc00000000fee4c80</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr14 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr15
0xc0000000fcab3800</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr16 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr17
0xc000000ffa445000</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr18
0xc000001e48ad78a0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr19
0xc000000001523400</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr20
0xc0000000000a09bc</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr21
0xc000001e3c11d100</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr22
0xc0000000001e54a8</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr23
0xc000000001523400</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr24
0xc000001e48ad7850</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr25
0xc000001e3c11d100</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr26
0xc000001e48a71790</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr27
0xfffffffffffffead</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr28 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr29
0xc000001e3c11d100</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr30 0x1</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... gpr31 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... nip
0xc00000000000fe8c</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... msr
0x9000000000009032</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... orig_r3
0xc0000000001e6978</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... ctr
0xc00000000009e1f0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... link
0xc0000000001e697c</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... xer 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... ccr 0x84022884</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... softe 0x1</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... trap 0xf01</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... dar 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... dsisr
0x300040060000004</p>
<p style="margin-bottom: 0cm; line-height: 100%">.... result 0x0</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ... thread:
:4130:4130</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ...... dso:
/root/.debug/.build-id/82/8d2c7bac560dc9aac8bf6289f26504e22d6883</p>
<p style="margin-bottom: 0cm; line-height: 100%"> :4130 4130
179.614739: 1 cycles: c0000000001dde88
.perf_ctx_unlock (/boot/vmlinux)</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">0xd20 [0x190]:
event: 9</p>
<title></title>
<meta name="generator" content="LibreOffice 4.3.7.2 (Linux)">
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
</style><br>
<blockquote
cite="mid:CAOJe8K2FPkWMYPPX+aSNE01pQc6E9w7B0GVMHB8H4QfOvteDoA@mail.gmail.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">
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
<a class="moz-txt-link-abbreviated" href="mailto:Linuxppc-dev@lists.ozlabs.org">Linuxppc-dev@lists.ozlabs.org</a>
<a class="moz-txt-link-freetext" href="https://lists.ozlabs.org/listinfo/linuxppc-dev">https://lists.ozlabs.org/listinfo/linuxppc-dev</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
Thanks and regards <br>
Anju<br>
</body>
</html>