..@linux.ibm.com
> v3->v4:
> - CONFIG_PPC64 check was not required, remove it.
> - Use SZ_ macros instead of hardcoded numbers.
>
Acked-by: Sandipan Das
This replaces the incorrectly spelled word "localtion"
with "location" in some power8 PMU event descriptions.
Fixes: 2a81fa3bb5ed ("perf vendor events: Add power8 PMU events")
Signed-off-by: Sandipan Das
---
.../pmu-events/arch/powerpc/power8/cache.json| 10 +
ak in common code. Fix it.
>
> Fixes: 7eec00a74720 ("perf symbols: Consolidate symbol fixup issue")
> Reported-by: Sandipan Das
> Signed-off-by: Ravi Bangoria
> ---
> tools/perf/arch/powerpc/util/Build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/per
.org/linux-mm/20200504070304.127361-1-sandi...@linux.ibm.com/T/#u
>
> [...]
>
Thanks again.
Acked-by: Sandipan Das
Thanks for finding this! The patch set which moved protection-keys.txt
> out of x86 code probably just missed this when it got rebased. It
> originated well before June 2019, iirc.
>
That's right. Sorry about that. Must have missed it when rebasing the
older pkey selftest patches. Thanks for fixing this Mauro.
Acked-by: Sandipan Das
from the test program I sent earlier.
>
> cool, reproduced.. it seems to get introduced by:
> 2a9d5050dc84 perf script: Show correct offsets for DWARF-based unwinding
>
> reverting that patch fixes the issue for me, but looks like
> we could just make th attached check and prevent
from the test program I sent earlier.
>
> cool, reproduced.. it seems to get introduced by:
> 2a9d5050dc84 perf script: Show correct offsets for DWARF-based unwinding
>
> reverting that patch fixes the issue for me, but looks like
> we could just make th attached check and prevent
e=0x7fff9830, parent=0x7fff97b8,
> root_al=0x7fff9750, max_stack=127) at util/machine.c:2378
> #7 0x557ba4ee in sample__resolve_callchain (sample=,
> cursor=, parent=parent@entry=0x7fff97b8, evsel= out>, al=al@entry=0x7fffffff9750,
> max_stack=) at util/callchain.c:1085
>
Tested-by: Sandipan Das
e=0x7fff9830, parent=0x7fff97b8,
> root_al=0x7fff9750, max_stack=127) at util/machine.c:2378
> #7 0x557ba4ee in sample__resolve_callchain (sample=,
> cursor=, parent=parent@entry=0x7fff97b8, evsel= out>, al=al@entry=0x7fffffff9750,
> max_stack=) at util/callchain.c:1085
>
Tested-by: Sandipan Das
Commit-ID: fa694160cca6dbba17c57dc7efec5f93feaf8795
Gitweb: https://git.kernel.org/tip/fa694160cca6dbba17c57dc7efec5f93feaf8795
Author: Sandipan Das
AuthorDate: Tue, 28 Aug 2018 14:38:48 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 30 Aug 2018 15:15:11 -0300
perf probe
Commit-ID: fa694160cca6dbba17c57dc7efec5f93feaf8795
Gitweb: https://git.kernel.org/tip/fa694160cca6dbba17c57dc7efec5f93feaf8795
Author: Sandipan Das
AuthorDate: Tue, 28 Aug 2018 14:38:48 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 30 Aug 2018 15:15:11 -0300
perf probe
This makes sure that the SyS symbols are ignored for any powerpc
system, not just the big endian ones.
Fixes: fb6d59423115 ("perf probe ppc: Use the right prefix when ignoring SyS
symbols on ppc")
Reported-by: Naveen N. Rao
Signed-off-by: Sandipan Das
Reviewed-by: Kamalesh Babulal
This makes sure that the SyS symbols are ignored for any powerpc
system, not just the big endian ones.
Fixes: fb6d59423115 ("perf probe ppc: Use the right prefix when ignoring SyS
symbols on ppc")
Reported-by: Naveen N. Rao
Signed-off-by: Sandipan Das
Reviewed-by: Kamalesh Babulal
Commit-ID: 354b064b8ebc1e1ede58550ca9e08bfa81e6af43
Gitweb: https://git.kernel.org/tip/354b064b8ebc1e1ede58550ca9e08bfa81e6af43
Author: Sandipan Das
AuthorDate: Thu, 9 Aug 2018 21:49:29 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 9 Aug 2018 14:40:11 -0300
perf probe
Commit-ID: 354b064b8ebc1e1ede58550ca9e08bfa81e6af43
Gitweb: https://git.kernel.org/tip/354b064b8ebc1e1ede58550ca9e08bfa81e6af43
Author: Sandipan Das
AuthorDate: Thu, 9 Aug 2018 21:49:29 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 9 Aug 2018 14:40:11 -0300
perf probe
("perf probe ppc64le: Fix probe location when using DWARF")
Reported-by: Aneesh Kumar K.V
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/sym-handling.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/perf/arch/powerpc/util/sym-handling.c
b/t
("perf probe ppc64le: Fix probe location when using DWARF")
Reported-by: Aneesh Kumar K.V
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/sym-handling.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/perf/arch/powerpc/util/sym-handling.c
b/t
Commit-ID: aa90f9f9554616d5738f7bedb4a8f0e5e14d1bc6
Gitweb: https://git.kernel.org/tip/aa90f9f9554616d5738f7bedb4a8f0e5e14d1bc6
Author: Sandipan Das
AuthorDate: Thu, 26 Jul 2018 22:47:33 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 31 Jul 2018 10:52:51 -0300
perf tests
Commit-ID: aa90f9f9554616d5738f7bedb4a8f0e5e14d1bc6
Gitweb: https://git.kernel.org/tip/aa90f9f9554616d5738f7bedb4a8f0e5e14d1bc6
Author: Sandipan Das
AuthorDate: Thu, 26 Jul 2018 22:47:33 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 31 Jul 2018 10:52:51 -0300
perf tests
Commit-ID: a6f39cecf71537d105f4bf87b8d4760851960838
Gitweb: https://git.kernel.org/tip/a6f39cecf71537d105f4bf87b8d4760851960838
Author: Sandipan Das
AuthorDate: Thu, 26 Jul 2018 16:25:02 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 31 Jul 2018 10:52:23 -0300
perf tests
Commit-ID: a6f39cecf71537d105f4bf87b8d4760851960838
Gitweb: https://git.kernel.org/tip/a6f39cecf71537d105f4bf87b8d4760851960838
Author: Sandipan Das
AuthorDate: Thu, 26 Jul 2018 16:25:02 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 31 Jul 2018 10:52:23 -0300
perf tests
Hi Arnaldo,
I came across the same problem. Does the following patch fix it?
https://lkml.org/lkml/2018/7/26/669
- Sandipan
On Thursday 26 July 2018 06:45 PM, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jul 25, 2018 at 02:59:34PM -0300, Arnaldo Carvalho de Melo escreveu:
>> Hi Ingo,
>>
>>
Hi Arnaldo,
I came across the same problem. Does the following patch fix it?
https://lkml.org/lkml/2018/7/26/669
- Sandipan
On Thursday 26 July 2018 06:45 PM, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jul 25, 2018 at 02:59:34PM -0300, Arnaldo Carvalho de Melo escreveu:
>> Hi Ingo,
>>
>>
s: 9ef0112442bd ("perf test: Fix subtest number when showing results")
Signed-off-by: Sandipan Das
---
tools/perf/tests/builtin-test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index 4f5de8245b32.
s: 9ef0112442bd ("perf test: Fix subtest number when showing results")
Signed-off-by: Sandipan Das
---
tools/perf/tests/builtin-test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index 4f5de8245b32.
Parse event definition strings: FAILED!
Fixes: 055f839c5ef0 ("perf tests: Check that complex event name is parsed
correctly")
Suggested-by: Ravi Bangoria
Signed-off-by: Sandipan Das
---
tools/perf/tests/parse-events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
Parse event definition strings: FAILED!
Fixes: 055f839c5ef0 ("perf tests: Check that complex event name is parsed
correctly")
Suggested-by: Ravi Bangoria
Signed-off-by: Sandipan Das
---
tools/perf/tests/parse-events.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
Commit-ID: 2a9d5050dc84fa2060f08a52f632976923e0fa7e
Gitweb: https://git.kernel.org/tip/2a9d5050dc84fa2060f08a52f632976923e0fa7e
Author: Sandipan Das
AuthorDate: Tue, 3 Jul 2018 17:35:55 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:53:11 -0300
perf script
Commit-ID: 2a9d5050dc84fa2060f08a52f632976923e0fa7e
Gitweb: https://git.kernel.org/tip/2a9d5050dc84fa2060f08a52f632976923e0fa7e
Author: Sandipan Das
AuthorDate: Tue, 3 Jul 2018 17:35:55 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:53:11 -0300
perf script
Commit-ID: 60089e42d38438772e2f83334e3e5b7497009366
Gitweb: https://git.kernel.org/tip/60089e42d38438772e2f83334e3e5b7497009366
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:17 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:52:19 -0300
perf tests
Commit-ID: 60089e42d38438772e2f83334e3e5b7497009366
Gitweb: https://git.kernel.org/tip/60089e42d38438772e2f83334e3e5b7497009366
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:17 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:52:19 -0300
perf tests
Commit-ID: 83e3b6d73e66a10088f362b08b99c36fec3a14e7
Gitweb: https://git.kernel.org/tip/83e3b6d73e66a10088f362b08b99c36fec3a14e7
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:16 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:52:09 -0300
perf tests
Commit-ID: 83e3b6d73e66a10088f362b08b99c36fec3a14e7
Gitweb: https://git.kernel.org/tip/83e3b6d73e66a10088f362b08b99c36fec3a14e7
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:16 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:52:09 -0300
perf tests
Commit-ID: 3eae52f842329a95f8549124079518231c0daba8
Gitweb: https://git.kernel.org/tip/3eae52f842329a95f8549124079518231c0daba8
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:15 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:51:37 -0300
perf tests
Commit-ID: 3eae52f842329a95f8549124079518231c0daba8
Gitweb: https://git.kernel.org/tip/3eae52f842329a95f8549124079518231c0daba8
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:15 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:51:37 -0300
perf tests
Commit-ID: c715fcfda5a08edabaa15508742be926b7ee51db
Gitweb: https://git.kernel.org/tip/c715fcfda5a08edabaa15508742be926b7ee51db
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:13 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:50:10 -0300
perf powerpc
Commit-ID: 9068533e4f470daf2b0f29c71d865990acd8826e
Gitweb: https://git.kernel.org/tip/9068533e4f470daf2b0f29c71d865990acd8826e
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:14 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:50:44 -0300
perf powerpc
Commit-ID: c715fcfda5a08edabaa15508742be926b7ee51db
Gitweb: https://git.kernel.org/tip/c715fcfda5a08edabaa15508742be926b7ee51db
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:13 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:50:10 -0300
perf powerpc
Commit-ID: 9068533e4f470daf2b0f29c71d865990acd8826e
Gitweb: https://git.kernel.org/tip/9068533e4f470daf2b0f29c71d865990acd8826e
Author: Sandipan Das
AuthorDate: Tue, 10 Jul 2018 19:28:14 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 24 Jul 2018 14:50:44 -0300
perf powerpc
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tools/perf/arch/powerpc/util/skip-callchain-idx.c
b/tools/perf/arch/powerpc/util/skip-callchain-idx.c
index 264fc0158100..7c6eeb4633fe
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tools/perf/arch/powerpc/util/skip-callchain-idx.c
b/tools/perf/arch/powerpc/util/skip-callchain-idx.c
index 264fc0158100..7c6eeb4633fe
/usr/lib64/power8/libc-2.26.so)
Signed-off-by: Sandipan Das
---
.../tests/shell/record+probe_libc_inet_pton.sh | 28 ++
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/tools/perf/tests/shell/record+probe_libc_inet_pton.sh
b/tools/perf/tests/shell/record+probe_libc_i
/usr/lib64/power8/libc-2.26.so)
Signed-off-by: Sandipan Das
---
.../tests/shell/record+probe_libc_inet_pton.sh | 28 ++
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/tools/perf/tests/shell/record+probe_libc_inet_pton.sh
b/tools/perf/tests/shell/record+probe_libc_i
.26.so)
7fffa24105b4 getaddrinfo+0x164 (/usr/lib64/libc-2.26.so)
138d52d70 main+0x3e0 (/usr/bin/ping)
test child finished with 0
end
probe libc's inet_pton & backtrace it with ping: Ok
Fixes: e07d585e2454 ("perf tests: Switch trace+probe_libc_inet_pton to use
record&quo
.26.so)
7fffa24105b4 getaddrinfo+0x164 (/usr/lib64/libc-2.26.so)
138d52d70 main+0x3e0 (/usr/bin/ping)
test child finished with 0
end
probe libc's inet_pton & backtrace it with ping: Ok
Fixes: e07d585e2454 ("perf tests: Switch trace+probe_libc_inet_pton to use
record&quo
-2.26.so)
7fffa6df3898 __libc_start_main+0xb8 (/usr/lib64/libc-2.26.so)
0 [unknown] ([unknown])
Fixes: a60335ba3298 ("perf tools powerpc: Adjust callchain based on DWARF debug
info")
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/skip-callchain-i
power8/libc-2.26.so)
Cleanup of the event and the temporary files are now ensured by
allowing the cleanup code to be executed even if the lines from
the backtrace do not match their expected patterns instead of
simply exiting from the point of failure.
Signed-off-by: Sandipan Das
---
tools/perf/test
replied saying that you have applied
these patches to your tree but I still do not see the changes
in the 'perf/core' and 'perf/urgent' branches. Assuming that
you would be pushing these changes, I applied Kim's patches
to my local tree manually before I started working on this
series.
--
Sandipan Das
-2.26.so)
7fffa6df3898 __libc_start_main+0xb8 (/usr/lib64/libc-2.26.so)
0 [unknown] ([unknown])
Fixes: a60335ba3298 ("perf tools powerpc: Adjust callchain based on DWARF debug
info")
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/skip-callchain-i
power8/libc-2.26.so)
Cleanup of the event and the temporary files are now ensured by
allowing the cleanup code to be executed even if the lines from
the backtrace do not match their expected patterns instead of
simply exiting from the point of failure.
Signed-off-by: Sandipan Das
---
tools/perf/test
replied saying that you have applied
these patches to your tree but I still do not see the changes
in the 'perf/core' and 'perf/urgent' branches. Assuming that
you would be pushing these changes, I applied Kim's patches
to my local tree manually before I started working on this
series.
--
Sandipan Das
ttps://github.com/0day-ci/linux/commits/Sandipan-Das/perf-tests-Fix-regex-for-record-probe_libc_inet_pton-sh/20180521-130408
>
>
> in testcase: perf-sanity-tests
> with following parameters:
>
> perf_compiler: gcc
>
>
>
> on test machine: qemu-system-x86_64
ttps://github.com/0day-ci/linux/commits/Sandipan-Das/perf-tests-Fix-regex-for-record-probe_libc_inet_pton-sh/20180521-130408
>
>
> in testcase: perf-sanity-tests
> with following parameters:
>
> perf_compiler: gcc
>
>
>
> on test machine: qemu-system-x86_64
a ("perf unwind: Use addr_location::addr instead of ip for
entries")
Signed-off-by: Sandipan Das
---
tools/perf/util/machine.c| 9 -
tools/perf/util/unwind-libdw.c | 2 +-
tools/perf/util/unwind-libunwind-local.c | 2 +-
3 files changed, 10 insertions(+), 3 deletio
a ("perf unwind: Use addr_location::addr instead of ip for
entries")
Signed-off-by: Sandipan Das
---
tools/perf/util/machine.c| 9 -
tools/perf/util/unwind-libdw.c | 2 +-
tools/perf/util/unwind-libunwind-local.c | 2 +-
3 files changed, 10 insertions(+), 3 deletio
Commit-ID: 143c99f6ac6812d23254e80844d6e34be897d3e1
Gitweb: https://git.kernel.org/tip/143c99f6ac6812d23254e80844d6e34be897d3e1
Author: Sandipan Das
AuthorDate: Mon, 11 Jun 2018 16:10:49 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 25 Jun 2018 11:59:35 -0300
perf report
Commit-ID: 143c99f6ac6812d23254e80844d6e34be897d3e1
Gitweb: https://git.kernel.org/tip/143c99f6ac6812d23254e80844d6e34be897d3e1
Author: Sandipan Das
AuthorDate: Mon, 11 Jun 2018 16:10:49 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 25 Jun 2018 11:59:35 -0300
perf report
libc-2.26.so
+8.87% dl-addr.c:52 [.] _dl_addr libc-2.26.so
+8.83% _init+236 [.] _initls
...
Reported-by: Ravi Bangoria
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 2 +-
1 file changed, 1
libc-2.26.so
+8.87% dl-addr.c:52 [.] _dl_addr libc-2.26.so
+8.83% _init+236 [.] _initls
...
Reported-by: Ravi Bangoria
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 2 +-
1 file changed, 1
Commit-ID: 7903a70867230d9edbd5e886cd8b8a2b248f418f
Gitweb: https://git.kernel.org/tip/7903a70867230d9edbd5e886cd8b8a2b248f418f
Author: Sandipan Das <sandi...@linux.vnet.ibm.com>
AuthorDate: Thu, 17 May 2018 12:03:26 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 7903a70867230d9edbd5e886cd8b8a2b248f418f
Gitweb: https://git.kernel.org/tip/7903a70867230d9edbd5e886cd8b8a2b248f418f
Author: Sandipan Das
AuthorDate: Thu, 17 May 2018 12:03:26 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Fri, 18 May 2018 16:31:40 -0300
perf script
Commit-ID: 19610184693c547b4c12738df4156589892c4018
Gitweb: https://git.kernel.org/tip/19610184693c547b4c12738df4156589892c4018
Author: Sandipan Das <sandi...@linux.vnet.ibm.com>
AuthorDate: Thu, 17 May 2018 12:03:25 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 19610184693c547b4c12738df4156589892c4018
Gitweb: https://git.kernel.org/tip/19610184693c547b4c12738df4156589892c4018
Author: Sandipan Das
AuthorDate: Thu, 17 May 2018 12:03:25 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 17 May 2018 16:55:29 -0300
perf script
Hi Arnaldo,
On 05/19/2018 12:51 AM, Arnaldo Carvalho de Melo wrote:
> Em Fri, May 18, 2018 at 12:54:17PM +0530, Sandipan Das escreveu:
>> This test currently fails because the regular expressions for
>> matching the output of perf script do not consider the symbol
>&g
Hi Arnaldo,
On 05/19/2018 12:51 AM, Arnaldo Carvalho de Melo wrote:
> Em Fri, May 18, 2018 at 12:54:17PM +0530, Sandipan Das escreveu:
>> This test currently fails because the regular expressions for
>> matching the output of perf script do not consider the symbol
>&g
Hi Thomas,
On 05/18/2018 03:51 PM, Thomas-Mich Richter wrote:
[...]
>
> This patch fails on s390. I used 4.17.0rc5 + fedora 27 and I get this output:
>
>
> [root@p23lp27 perf]# ./perf test 59
> 59: probe libc's inet_pton & backtrace it with ping : Ok
> [root@p23lp27 linux]# cd ~/linux;
Hi Thomas,
On 05/18/2018 03:51 PM, Thomas-Mich Richter wrote:
[...]
>
> This patch fails on s390. I used 4.17.0rc5 + fedora 27 and I get this output:
>
>
> [root@p23lp27 perf]# ./perf test 59
> 59: probe libc's inet_pton & backtrace it with ping : Ok
> [root@p23lp27 linux]# cd ~/linux;
ping 30556 [003] 307254.313217: probe_libc:inet_pton: (7fe19ab10220)
7fe19ab10220 __GI___inet_pton+0x0 (/usr/lib64/libc-2.25.so)
7fe19aad5ebd getaddrinfo+0x11d (/usr/lib64/libc-2.25.so)
56351e3c1c71 main+0x891 (/usr/bin/ping)
test child finished with 0
end
probe libc's inet
ping 30556 [003] 307254.313217: probe_libc:inet_pton: (7fe19ab10220)
7fe19ab10220 __GI___inet_pton+0x0 (/usr/lib64/libc-2.25.so)
7fe19aad5ebd getaddrinfo+0x11d (/usr/lib64/libc-2.25.so)
56351e3c1c71 main+0x891 (/usr/bin/ping)
test child finished with 0
end
probe libc's inet_pton &
/test)
7fffb6fe36a0 generic_start_main.isra.0+0x140
(/usr/lib64/libc-2.26.so)
7fffb6fe3898 __libc_start_main+0xb8 (/usr/lib64/libc-2.26.so)
0 [unknown] ([unknown])
...
Signed-off-by: Sandipan Das <sandi...@linux.vnet.ibm.com>
---
tool
/test)
7fffb6fe36a0 generic_start_main.isra.0+0x140
(/usr/lib64/libc-2.26.so)
7fffb6fe3898 __libc_start_main+0xb8 (/usr/lib64/libc-2.26.so)
0 [unknown] ([unknown])
...
Signed-off-by: Sandipan Das
---
tools/perf/builtin-script.c | 26
record -e probe:sys_write ~/test
# perf script -F ip,sym,symoff
c04025b0 sys_write+0x10
...
Signed-off-by: Sandipan Das <sandi...@linux.vnet.ibm.com>
---
tools/perf/util/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/machine.c b/tool
record -e probe:sys_write ~/test
# perf script -F ip,sym,symoff
c04025b0 sys_write+0x10
...
Signed-off-by: Sandipan Das
---
tools/perf/util/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
index
+0x124)[0x1017ff5c]
perf(sample__resolve_callchain+0xf0)[0x10172788]
...
Reported-by: Ravi Bangoria <ravi.bango...@linux.vnet.ibm.com>
Signed-off-by: Sandipan Das <sandi...@linux.vnet.ibm.com>
---
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 2 +-
1 file changed, 1 ins
+0x124)[0x1017ff5c]
perf(sample__resolve_callchain+0xf0)[0x10172788]
...
Reported-by: Ravi Bangoria
Signed-off-by: Sandipan Das
---
tools/perf/arch/powerpc/util/skip-callchain-idx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/arch/powerpc/util/skip-callchain
gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)
1105b4 getaddrinfo (/usr/lib64/libc-2.26.so)
Fixes: a60335ba3298 ("perf tools powerpc: Adjust callchain based on DWARF debug
info")
Signed-off-by: Sandipan Das <sandi...@linux.vnet.ibm.com>
---
v2:
- Consider case when return
gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)
1105b4 getaddrinfo (/usr/lib64/libc-2.26.so)
Fixes: a60335ba3298 ("perf tools powerpc: Adjust callchain based on DWARF debug
info")
Signed-off-by: Sandipan Das
---
v2:
- Consider case when return address is in R0 as pointed o
Ok
Fixes: e07d585e2454 ("perf tests: Switch trace+probe_libc_inet_pton to use
record")
Signed-off-by: Sandipan Das <sandi...@linux.vnet.ibm.com>
---
tools/perf/tests/shell/record+probe_libc_inet_pton.sh | 8
1 file changed, 8 insertions(+)
diff --git a/tools/perf/test
also been
readjusted to work with the fix in the first patch.
v2:
- Consider case when return address is in R0 as pointed out by Ravi.
- Add another patch to fix crash when callchain is empty.
Sandipan Das (3):
perf tools powerpc: Fix callchain ip filtering
perf tools powerpc: Fix crash
also been
readjusted to work with the fix in the first patch.
v2:
- Consider case when return address is in R0 as pointed out by Ravi.
- Add another patch to fix crash when callchain is empty.
Sandipan Das (3):
perf tools powerpc: Fix callchain ip filtering
perf tools powerpc: Fix crash
Ok
Fixes: e07d585e2454 ("perf tests: Switch trace+probe_libc_inet_pton to use
record")
Signed-off-by: Sandipan Das
---
tools/perf/tests/shell/record+probe_libc_inet_pton.sh | 8
1 file changed, 8 insertions(+)
diff --git a/tools/perf/tests/shell/record+probe_libc
On 04/17/2018 12:29 PM, Ravi Bangoria wrote:
>
> This change looks good to me but seems it fixed the issue
> partially.Ex,
>
> # readelf --debug-dump=frames-interp /lib64/libc-2.26.so | less
> ...
> 5778 0024 577c FDE cie=
>
On 04/17/2018 12:29 PM, Ravi Bangoria wrote:
>
> This change looks good to me but seems it fixed the issue
> partially.Ex,
>
> # readelf --debug-dump=frames-interp /lib64/libc-2.26.so | less
> ...
> 5778 0024 577c FDE cie=
>
Commit-ID: 4b163ca343b45855b03114ef2ab47c454989d55c
Gitweb: https://git.kernel.org/tip/4b163ca343b45855b03114ef2ab47c454989d55c
Author: Sandipan Das <sandi...@linux.vnet.ibm.com>
AuthorDate: Thu, 12 Apr 2018 21:51:40 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 4b163ca343b45855b03114ef2ab47c454989d55c
Gitweb: https://git.kernel.org/tip/4b163ca343b45855b03114ef2ab47c454989d55c
Author: Sandipan Das
AuthorDate: Thu, 12 Apr 2018 21:51:40 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 12 Apr 2018 14:20:21 -0300
perf tests
On 04/13/2018 12:13 AM, Arnaldo Carvalho de Melo wrote:
>
> So, the author for the fixed-by patch here is Sukadev Bhattiprolu
> , and the reporter for the problem that
> patch fixed is Maynard Johnson , who also tested
> that patch, I think it'd
On 04/13/2018 12:13 AM, Arnaldo Carvalho de Melo wrote:
>
> So, the author for the fixed-by patch here is Sukadev Bhattiprolu
> , and the reporter for the problem that
> patch fixed is Maynard Johnson , who also tested
> that patch, I think it'd be better if they get CCed to have the
>
d585e2454 ("perf tests: Switch trace+probe_libc_inet_pton to use
record")
Signed-off-by: Sandipan Das <sandi...@linux.vnet.ibm.com>
---
tools/perf/tests/shell/record+probe_libc_inet_pton.sh | 8
1 file changed, 8 insertions(+)
diff --git a/tools/perf/tests/shell/record+prob
d585e2454 ("perf tests: Switch trace+probe_libc_inet_pton to use
record")
Signed-off-by: Sandipan Das
---
tools/perf/tests/shell/record+probe_libc_inet_pton.sh | 8
1 file changed, 8 insertions(+)
diff --git a/tools/perf/tests/shell/record+probe_libc_inet_pton.sh
b/tools/perf/te
(/usr/lib64/libc-2.26.so)
10fa54 gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)
1105b4 getaddrinfo (/usr/lib64/libc-2.26.so)
Fixes: a60335ba3298 ("perf tools powerpc: Adjust callchain based on DWARF debug
info")
Signed-off-by: Sandipan
(/usr/lib64/libc-2.26.so)
10fa54 gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)
1105b4 getaddrinfo (/usr/lib64/libc-2.26.so)
Fixes: a60335ba3298 ("perf tools powerpc: Adjust callchain based on DWARF debug
info")
Signed-off-by: Sandipan Das
---
to fail on powerpc as
the back trace from perf output did not match the expected pattern.
Also, because of the issue described in the first patch, some entries
from the callchain were incorrectly skipped. So, this has also been
readjusted to work with the fix in the first patch.
Sandipan Das (2
to fail on powerpc as
the back trace from perf output did not match the expected pattern.
Also, because of the issue described in the first patch, some entries
from the callchain were incorrectly skipped. So, this has also been
readjusted to work with the fix in the first patch.
Sandipan Das (2
, breakpoints count 0, has_ioctl 1, share 0
test child finished with -2
end
Breakpoint accounting: Skip
After applying patch:
21: Breakpoint accounting : Disabled
Signed-off-by: Sandipan Das <sandi...@linux.vnet.ibm.com>
---
tools/perf/tests/builtin-test
, breakpoints count 0, has_ioctl 1, share 0
test child finished with -2
end
Breakpoint accounting: Skip
After applying patch:
21: Breakpoint accounting : Disabled
Signed-off-by: Sandipan Das
---
tools/perf/tests/builtin-test.c | 1 +
1 file changed, 1 insertion
Commit-ID: fcbd8fa44664e99a5d8c7ab97f1afdd82472f973
Gitweb: https://git.kernel.org/tip/fcbd8fa44664e99a5d8c7ab97f1afdd82472f973
Author: Sandipan Das <sandi...@linux.vnet.ibm.com>
AuthorDate: Wed, 4 Apr 2018 23:34:19 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: fcbd8fa44664e99a5d8c7ab97f1afdd82472f973
Gitweb: https://git.kernel.org/tip/fcbd8fa44664e99a5d8c7ab97f1afdd82472f973
Author: Sandipan Das
AuthorDate: Wed, 4 Apr 2018 23:34:19 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 9 Apr 2018 11:13:09 -0300
perf tests
Commit-ID: 7854e499f33fd9c7e63288692ffb754d9b1d02fd
Gitweb: https://git.kernel.org/tip/7854e499f33fd9c7e63288692ffb754d9b1d02fd
Author: Sandipan Das <sandi...@linux.vnet.ibm.com>
AuthorDate: Wed, 4 Apr 2018 23:34:18 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
Commit-ID: 7854e499f33fd9c7e63288692ffb754d9b1d02fd
Gitweb: https://git.kernel.org/tip/7854e499f33fd9c7e63288692ffb754d9b1d02fd
Author: Sandipan Das
AuthorDate: Wed, 4 Apr 2018 23:34:18 +0530
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 9 Apr 2018 11:13:08 -0300
perf clang
Commit-ID: c2fb54a183cfe77c6fdc9d71e2d5299c1c302a6e
Gitweb: https://git.kernel.org/tip/c2fb54a183cfe77c6fdc9d71e2d5299c1c302a6e
Author: Sandipan Das <sandi...@linux.vnet.ibm.com>
AuthorDate: Wed, 4 Apr 2018 23:34:17 +0530
Committer: Arnaldo Carvalho de Melo <a...@redhat.com>
1 - 100 of 129 matches
Mail list logo