[PATCH] perf ftrace: Command fails on s390

2021-04-09 Thread Thomas Richter
| | | | 4) | rcu_read_lock_sched_held() { 4) 0.552 us|rcu_lockdep_current_cpu_online(); 4) 6.124 us| } Signed-off-by: Thomas Richter --- tools/perf/builtin-ftrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/buil

[PATCH] perf test: Remove perf sub test 42.4 BPF relocation checker

2021-03-24 Thread Thomas Richter
42.3: BPF prologue generation : Ok # Signed-off-by: Thomas Richter --- tools/perf/tests/bpf.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tools/perf/tests/bpf.c b/tools/perf/tests/bpf.c index f57e075b0ed2..c72adbd67386 100644 --- a/tools/perf/tests/bpf.c +++ b/

Re: [PATCH] perf test: Fix perf test 42

2021-03-24 Thread Thomas Richter
On 3/23/21 7:06 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 22, 2021 at 01:53:39PM +0100, Thomas Richter escreveu: >> For some time now the perf test 42: BPF filter returns an error >> on bpf relocation subtest, at least on x86 and s390. This is caused by >> >>

[PATCH] perf test: Fix perf test 42

2021-03-22 Thread Thomas Richter
: Ok 42.3: BPF prologue generation : Ok 42.4: BPF relocation checker: Ok # Signed-off-by: Thomas Richter --- tools/perf/tests/bpf-script-test-relocation.c | 4 ++-- tools/perf/tests/bpf.c| 11 +++ 2 files changed, 13 insertions(+), 2 deletion

[PATCH] tool/perf: Perf build fails on 5.12.0rc2 on s390

2021-03-09 Thread Thomas Richter
d a value when it is defined. Output after: [root@m35lp76 perf]# make util/synthetic-events.o CC util/synthetic-events.o [root@m35lp76 perf]# Signed-off-by: Thomas Richter --- tools/perf/util/synthetic-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/

Re: [PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-03 Thread Thomas Richter
On 3/2/21 9:10 PM, Liang, Kan wrote: > > > On 3/2/2021 12:08 PM, Thomas Richter wrote: >> On 3/2/21 4:23 PM, Liang, Kan wrote: >>> >>> >>> On 3/2/2021 9:48 AM, Thomas Richter wrote: >>>> On 3/2/21 3:03 PM, Liang, Kan wrote: >>>&

Re: [PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-02 Thread Thomas Richter
On 3/2/21 4:23 PM, Liang, Kan wrote: > > > On 3/2/2021 9:48 AM, Thomas Richter wrote: >> On 3/2/21 3:03 PM, Liang, Kan wrote: >>> >>> + Athira Rajeev >>> >>> On 3/2/2021 8:31 AM, Thomas Richter wrote: >>>> Executing perf test 27

Re: [PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-02 Thread Thomas Richter
On 3/2/21 3:03 PM, Liang, Kan wrote: > > + Athira Rajeev > > On 3/2/2021 8:31 AM, Thomas Richter wrote: >> Executing perf test 27 fails on s390: >>   [root@t35lp46 perf]# ./perf test -Fv 27 >>   27: Sample parsing >>   --- start --- >>   end --

[PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-02 Thread Thomas Richter
@t35lp46 perf]# Fixes: commit c7444297fd3769 ("perf test: Support PERF_SAMPLE_WEIGHT_STRUCT") Signed-off-by: Thomas Richter --- tools/perf/util/evsel.c| 8 +--- tools/perf/util/synthetic-events.c | 6 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff

Re: [PATCH] perf test: Skip test 68 for Powerpc

2020-12-08 Thread Thomas Richter
: Ok [root@m35lp76 perf]# However on my fedora32 machine it still fails: [root@t35lp46 perf]# cat /etc/fedora-release Fedora release 32 (Thirty Two) [root@t35lp46 perf]# ./perf test -F 68 68: PE file support : FAILED! [root@t35lp46 perf]# Note that I am running the

[PATCH] perf test: Omit test 68 for s390.

2020-11-04 Thread Thomas Richter
68: PE file support : Skip [root@t35lp46 perf]# Signed-off-by: Thomas Richter --- tools/perf/tests/pe-file-parsing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/pe-file-parsing.c b/tools/perf/tests/pe-file-parsing.c index 58b90c

[PATCH v2] perf test: Perf test 67 address sanitizer issue

2020-08-26 Thread Thomas Richter
ne:cb Shadow gap: cc End of quote Fixes: 0a507af9c681a ("perf tests: Add parse metric test for ipc metric") Signed-off-by: Thomas Richter Reviewed-by: Sumanth Korikkar Acked-by: Ian Rogers --- tools/perf/tests/parse-metric.c | 5 + 1 file changed, 5 insertions(+)

[PATCH] perf test: Perf test 67 dumps core on s390

2020-08-25 Thread Thomas Richter
_group being non-NULL. Adding this element fixes the issue. Output after: [root@t35lp46 perf]# ./perf test 67 67: Parse and process metrics : Ok [root@t35lp46 perf]# Signed-off-by: Thomas Richter Reviewed-by: Sumanth Korikkar --- tools/perf/tests/parse-metric.c

[PATCH] perf stat: Fix s390x compile error on F32 utils/stat-display.c

2020-08-24 Thread Thomas Richter
Error 1 make[2]: *** [Makefile.perf:716: util/stat-display.o] Error 2 make[1]: *** [Makefile.perf:231: sub-make] Error 2 make: *** [Makefile:110: util/stat-display.o] Error 2 [root@t35lp46 perf]# Output after: # make util/stat-display.o . CC util/stat-display.o [root

Re: [PATCH] Fix s390x compile error on F32 utils/stat-display.c

2020-08-24 Thread Thomas Richter
On 8/24/20 10:22 PM, Jiri Olsa wrote: > On Wed, Aug 12, 2020 at 08:27:08AM -0300, Arnaldo Carvalho de Melo wrote: >> Em Wed, Jul 22, 2020 at 11:20:53AM +0200, Thomas Richter escreveu: >>> Fix a compile error on F32 and gcc version 10.1 on s390 in file >>> utils/stat-dis

Re: [PATCH] Fix s390x compile error on F32 utils/stat-display.c

2020-08-24 Thread Thomas Richter
Hi Arnaldo, Jin, Jiri any update on this issue? Thanks. On 8/12/20 1:27 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 22, 2020 at 11:20:53AM +0200, Thomas Richter escreveu: >> Fix a compile error on F32 and gcc version 10.1 on s390 in file >> utils/stat-display.c. The erro

[PATCH] perf tests: Fix test 68 zstd compression for s390

2020-07-29 Thread Thomas Richter
0.002 MB, ratio is 3.609) ] Checking compressed events stats: # compressed : Zstd, level = 1, ratio = 4 COMPRESSED events: 1 2ELIFREPh end Zstd perf.data compression/decompression: Ok [root@t35lp46 perf]# Signed-off-by: Thomas Richter Reviewed-by: Sumanth Korikkar --

[PATCH] Fix s390x compile error on F32 utils/stat-display.c

2020-07-22 Thread Thomas Richter
Error 1 make[2]: *** [Makefile.perf:716: util/stat-display.o] Error 2 make[1]: *** [Makefile.perf:231: sub-make] Error 2 make: *** [Makefile:110: util/stat-display.o] Error 2 [root@t35lp46 perf]# Output after: # make util/stat-display.o . CC util/stat-display.o [root@t

[tip: perf/core] perf symbol: Fix kernel symbol address display

2020-05-08 Thread tip-bot2 for Thomas Richter
The following commit has been merged into the perf/core branch of tip: Commit-ID: 51d9635582c55479bf7904fa47e39aef2b323a50 Gitweb: https://git.kernel.org/tip/51d9635582c55479bf7904fa47e39aef2b323a50 Author:Thomas Richter AuthorDate:Wed, 15 Apr 2020 09:07:44 +02:00

[tip: perf/core] perf jvmti: Link against tools/lib/ctype.h to have weak strlcpy()

2019-10-21 Thread tip-bot2 for Thomas Richter
The following commit has been merged into the perf/core branch of tip: Commit-ID: 5fb470bc29d8e2ff0e1cab4fbb580a06da11ab28 Gitweb: https://git.kernel.org/tip/5fb470bc29d8e2ff0e1cab4fbb580a06da11ab28 Author:Thomas Richter AuthorDate:Tue, 08 Oct 2019 11:38:41 +02:00

[tip: perf/urgent] perf/aux: Fix tracking of auxiliary trace buffer allocation

2019-10-21 Thread tip-bot2 for Thomas Richter
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 5e6c3c7b1ec217c1c4c95d9148182302b9969b97 Gitweb: https://git.kernel.org/tip/5e6c3c7b1ec217c1c4c95d9148182302b9969b97 Author:Thomas Richter AuthorDate:Mon, 21 Oct 2019 10:33:54 +02:00

[PATCH] perf/core: Fix tracking of auxiliary trace buffer allocation

2019-10-21 Thread Thomas Richter
trace as 'user_extra' and added to 'locked_vm'. This applies for normal trace buffers and auxiliary trace buffer. However in function perf_mmap_close() all auxiliary trace buffer is subtraced from 'locked_vm' and never from 'pinned_vm'. This breaks the ball

[tip: perf/urgent] perf jvmti: Link against tools/lib/ctype.h to have weak strlcpy()

2019-10-20 Thread tip-bot2 for Thomas Richter
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 6a6fac11b11299aa5bd8532ea863fc2f652af2b6 Gitweb: https://git.kernel.org/tip/6a6fac11b11299aa5bd8532ea863fc2f652af2b6 Author:Thomas Richter AuthorDate:Tue, 08 Oct 2019 11:38:41 +02:00

Perf record is broken on kernel 5.4.0.rc3

2019-10-18 Thread Thomas Richter
ap_close mmap_user->locked_vm:0xfe04 pinned_vm:0x0 This value sticks for the user until system is rebooted, causing follow-on system calls using locked_vm resource limit to fail. This happens on a s390 (where I can proof it), but I am sure this affects other plattforms too as abov

[PATCH] perf jvmti: Link against tools/lib/ctype.h to have weak strlcpy()

2019-10-08 Thread Thomas Richter
s/lib/string.h to have weak strlcpy()") Signed-off-by: Thomas Richter --- tools/perf/jvmti/Build | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/perf/jvmti/Build b/tools/perf/jvmti/Build index 1e148bbdf820..202cadaaf097 100644 --- a/tools/perf/jvmti/Build +++ b/

[tip: perf/urgent] perf vendor events s390: Add JSON transaction for machine type 8561

2019-10-07 Thread tip-bot2 for Thomas Richter
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 02d084792273e8a5f1813dcad988229a45be96ea Gitweb: https://git.kernel.org/tip/02d084792273e8a5f1813dcad988229a45be96ea Author:Thomas Richter AuthorDate:Fri, 27 Sep 2019 10:11:46 +02:00

[tip: perf/urgent] perf vendor events s390: Use s390 machine name instead of type 8561

2019-10-07 Thread tip-bot2 for Thomas Richter
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 0d0e5ecec6116db6031829299e74cc71240c9ff3 Gitweb: https://git.kernel.org/tip/0d0e5ecec6116db6031829299e74cc71240c9ff3 Author:Thomas Richter AuthorDate:Fri, 27 Sep 2019 10:11:47 +02:00

[PATCH 2/2] perf/pmu_events: Use s390 machine name instead of type 8561

2019-09-27 Thread Thomas Richter
In the pmu-events directory for JSON file definitions use the official machine name IBM z15 instead of machine type number 8561. This is consistent with previous machines. Signed-off-by: Thomas Richter --- tools/perf/pmu-events/arch/s390/{cf_m8561 => cf_z15}/basic.json | 0 .../perf/pmu-eve

[PATCH 1/2] perf vendor events s390: Add JSON transaction for machine type 8561

2019-09-27 Thread Thomas Richter
Add s390 transaction counter definition for machine 8561. This is the same file as for the predecessor machine. Fixes: 6e67d77d673d7 ("perf vendor events s390: Add JSON files for machine type 8561") Signed-off-by: Thomas Richter --- tools/perf/pmu-events/arch/s390/cf_m8561/transactio

[PATCH 2/3] perf: Include JVMTI support for s390

2019-09-09 Thread Thomas Richter
Enable JTI support for s390 perf tool chain Signed-off-by: Thomas Richter --- tools/perf/arch/s390/Makefile | 1 + tools/perf/util/genelf.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/tools/perf/arch/s390/Makefile b/tools/perf/arch/s390/Makefile index cb198787570a..6ac8887be7c9

[PATCH 1/3] perf jvmti: Link against tools/lib/string.h to have weak strlcpy()

2019-09-09 Thread Thomas Richter
That is needed in systems such some S/390 distros. [root@m35lp76 perf]# readelf -s jvmti/jvmti-in.o | fgrep strlcpy 408: 2bc8 216 FUNCWEAK DEFAULT 116 strlcpy [root@m35lp76 perf]# Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Thomas Richter --- tools/perf

[PATCH 0/3] perf/java: Add s390 support for jitted JAVA

2019-09-09 Thread Thomas Richter
(perf jvmti): Compile jvmti/* and generate a loadable libperf-jvmti.so Patch 2 (perf): Include JVMTI into the s390 build Patch 3 (perf/java): Add detection of java-11-openjdk-devel package Thomas Richter (3): perf jvmti: Link against tools/lib/string.h to have weak strlcpy() perf: Include

[PATCH 3/3] perf/java: Add detection of java-11-openjdk-devel package

2019-09-09 Thread Thomas Richter
With Java 11 there is no seperate JRE anymore. Details: https://coderanch.com/t/701603/java/JRE-JDK Therefore the detection of the JRE needs to be adapted. This change works for s390 and x86. I have not tested other platforms. Suggested-by: Andreas Krebbel Signed-off-by: Thomas Richter

[PATCH] perf jvmti: Link against tools/lib/string.h to have weak strlcpy()

2019-09-04 Thread Thomas Richter
That is needed in systems such some S/390 distros. [root@m35lp76 perf]# readelf -s jvmti/jvmti-in.o | fgrep strlcpy 408: 2bc8 216 FUNCWEAK DEFAULT 116 strlcpy [root@m35lp76 perf]# Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Thomas Richter --- tools/perf

[tip:perf/urgent] perf annotate: Fix s390 gap between kernel end and module start

2019-08-08 Thread tip-bot for Thomas Richter
Commit-ID: b9c0a64901d5bdec6eafd38d1dc8fa0e2974fccb Gitweb: https://git.kernel.org/tip/b9c0a64901d5bdec6eafd38d1dc8fa0e2974fccb Author: Thomas Richter AuthorDate: Wed, 24 Jul 2019 14:27:03 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:25 -0300 perf

[tip:perf/urgent] perf record: Fix module size on s390

2019-08-08 Thread tip-bot for Thomas Richter
Commit-ID: 12a6d2940b5f02b4b9f71ce098e3bb02bc24a9ea Gitweb: https://git.kernel.org/tip/12a6d2940b5f02b4b9f71ce098e3bb02bc24a9ea Author: Thomas Richter AuthorDate: Wed, 24 Jul 2019 14:27:02 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:11 -0300 perf record

[PATCH 2/2] perf/top: Fix s390 gap between kernel end and module start

2019-07-24 Thread Thomas Richter
for it. Introduce a weak function and handle s390 specifics. Cc: Reported-by: Klaus Theurich Signed-off-by: Thomas Richter Acked-by: Heiko Carstens --- tools/perf/arch/s390/util/machine.c | 17 + tools/perf/util/symbol.c| 7 ++- tools/perf/util/symbol.h

[PATCH 1/2] perf/record: Fix module size on s390

2019-07-24 Thread Thomas Richter
f s390: Fix 'start' address of module's map") Cc: # v4.9+ Reported-by: Stefan Liebler Signed-off-by: Thomas Richter Acked-by: Heiko Carstens --- tools/perf/arch/s390/util/machine.c | 14 +- tools/perf/util/machine.c | 3 ++- tools/perf/util/machine.h

[tip:perf/urgent] perf vendor events s390: Add JSON files for machine type 8561

2019-07-17 Thread tip-bot for Thomas Richter
Commit-ID: 6e67d77d673d785631b0c52314b60d3c68ebe809 Gitweb: https://git.kernel.org/tip/6e67d77d673d785631b0c52314b60d3c68ebe809 Author: Thomas Richter AuthorDate: Fri, 12 Jul 2019 14:31:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 12 Jul 2019 13:51:59 -0300 perf

[PATCH] perf/json: Add JSON files for s390 machine type 8561

2019-07-12 Thread Thomas Richter
Add CPU measurement counter facility event description files (json files) for IBM machine types 8561 and 8562. Signed-off-by: Thomas Richter Reviewed-by: Vasily Gorbik --- .../pmu-events/arch/s390/cf_m8561/basic.json | 58 +++ .../pmu-events/arch/s390/cf_m8561/crypto.json | 114

[tip:perf/core] perf report: Support s390 diag event display on x86

2019-06-17 Thread tip-bot for Thomas Richter
Commit-ID: 180ca71cf1be6030ba7eb4515bf2224c07b62631 Gitweb: https://git.kernel.org/tip/180ca71cf1be6030ba7eb4515bf2224c07b62631 Author: Thomas Richter AuthorDate: Wed, 22 May 2019 08:43:25 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 10 Jun 2019 17:48:30 -0300 perf

[tip:perf/core] perf report: Fix OOM error in TUI mode on s390

2019-06-17 Thread tip-bot for Thomas Richter
Commit-ID: 8a07aa4e9b7b0222129c07afff81634a884b2866 Gitweb: https://git.kernel.org/tip/8a07aa4e9b7b0222129c07afff81634a884b2866 Author: Thomas Richter AuthorDate: Thu, 23 May 2019 10:25:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 10 Jun 2019 16:20:13 -0300 perf

[tip:perf/core] perf test 6: Fix missing kvm module load for s390

2019-06-17 Thread tip-bot for Thomas Richter
Commit-ID: 53fe307dfd309e425b171f6272d64296a54f4dff Gitweb: https://git.kernel.org/tip/53fe307dfd309e425b171f6272d64296a54f4dff Author: Thomas Richter AuthorDate: Tue, 4 Jun 2019 07:35:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 10 Jun 2019 16:20:13 -0300 perf test 6

[PATCH] perf test 6: Fix missing kvm module load for s390

2019-06-03 Thread Thomas Richter
existence of this directory. Signed-off-by: Thomas Richter Reviewed-by: Christian Borntraeger --- tools/perf/tests/parse-events.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c index 4a69c07f41

[tip:perf/urgent] perf record: Fix s390 missing module symbol and warning for non-root users

2019-05-28 Thread tip-bot for Thomas Richter
Commit-ID: 6738028dd57df064b969d8392c943ef3b3ae705d Gitweb: https://git.kernel.org/tip/6738028dd57df064b969d8392c943ef3b3ae705d Author: Thomas Richter AuthorDate: Wed, 22 May 2019 16:46:01 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 28 May 2019 09:52:23 -0300 perf

[PATCHv2] perf report: Fix OOM error in TUI mode on s390

2019-05-23 Thread Thomas Richter
ation and the TUI interface shows all entries. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/annotate.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 0b8573fd9b05..15be9d27

[PATCH 3/3] perf record: Fix s390 missing module symbol and warning for non-root users

2019-05-22 Thread Thomas Richter
_MMAP ... x [kernel.kallsyms]_text 0 0x1b8 [0x98]: PERF_RECORD_MMAP ... x /lib/modules/.../autofs4.ko.xz 0 0x250 [0xa8]: PERF_RECORD_MMAP ... x /lib/modules/.../sha_common.ko.xz 0 0x2f8 [0x98]: PERF_RECORD_MMAP ... x /lib/modules/.../des_generic.ko.xz Signed-off-by: Thomas Richter Reviewed

[PATCH 0/3] Fix OOM in perf report on s390

2019-05-22 Thread Thomas Richter
function. Patch 2: Reduce the gap between kernel end and and first module start address on perf record. Patch 3: Create module maps for non-root user during perf record on s390. Thomas Richter (3): perf report: Fix OOM error in TUI mode on s390 perf record: Fix kallsym map size

[PATCH 1/3] perf report: Fix OOM error in TUI mode on s390

2019-05-22 Thread Thomas Richter
, period: 526008 [tmricht@m83lp54 perf]$ There is no error about failed memory allocation and the TUI interface shows all entries. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/annotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t

[PATCH 2/3] perf record: Fix kallsym map size for s390

2019-05-22 Thread Thomas Richter
0]: x [kernel.kallsyms]_text [root@m35lp76 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/event.c | 4 ++-- tools/perf/util/machine.c | 29 +++-- 2 files changed, 25 insertions(+), 8 deletions(-) dif

[PATCHv2] perf/report: Support s390 diag event display on x86

2019-05-21 Thread Thomas Richter
35lp76 --stdio > /dev/null interpreting bpf_prog_info from systems with endianity is not yet supported interpreting btf from systems with endianity is not yet supported [root@f29 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpum

[PATCH] pert/report: Support s390 diag event display on x86

2019-05-20 Thread Thomas Richter
35lp76 --stdio > /dev/null interpreting bpf_prog_info from systems with endianity is not yet supported interpreting btf from systems with endianity is not yet supported [root@f29 perf]# Signed-off-by: Thomas Richter --- tools/perf/util/s390-cpumsf.c | 95 --- 1 fil

[tip:perf/core] perf docs: Add description for stderr

2019-05-18 Thread tip-bot for Thomas Richter
Commit-ID: 6cf626563998d3f8770cc25146986810ee4a5969 Gitweb: https://git.kernel.org/tip/6cf626563998d3f8770cc25146986810ee4a5969 Author: Thomas Richter AuthorDate: Mon, 13 May 2019 10:02:20 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 16 May 2019 14:17:24 -0300 perf docs

[PATCH] perf report: Fix OOM error in TUI mode on s390

2019-05-13 Thread Thomas Richter
, period: 526008 [tmricht@m83lp54 perf]$ There is no error about failed memory allocation and the TUI interface shows all entries. Signed-off-by: Thomas Richter --- tools/perf/util/annotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/annotate.c b

[PATCH] perf docu: Add description for stderr

2019-05-13 Thread Thomas Richter
: # ./perf --debug stderr=1 report -v -i ~/fast.data 2>/tmp/2 # ll /tmp/2 -rw-rw-r-- 1 tmricht tmricht 5420835 May 7 13:46 /tmp/2 # The usage of variable stderr=1 is not documented, so add it to the perf man page. Signed-off-by: Thomas Richter --- tools/perf/Documentation/perf.txt | 2 ++

[tip:perf/urgent] perf report: Report OOM in status line in the GTK UI

2019-05-02 Thread tip-bot for Thomas Richter
Commit-ID: 167e418fa0871c083e2c74508d73012abb01e6f7 Gitweb: https://git.kernel.org/tip/167e418fa0871c083e2c74508d73012abb01e6f7 Author: Thomas Richter AuthorDate: Tue, 23 Apr 2019 12:53:03 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 2 May 2019 16:00:20 -0400 perf report

[PATCHv2] perf/report: Report OOM in perf report status line

2019-04-29 Thread Thomas Richter
ne): 0xf4198 [0x8]: failed to process type: 68 Output after: 0xf4198 [0x8]: failed to process type: 68 [not enough memory] Signed-off-by: Thomas Richter Reviewed-by: Jiri Olsa Reviewed-by: Hendrik Brueckner --- tools/perf/util/session.c | 15 +++ 1 file changed, 11 insertions(+), 4

[PATCH] pert/report: Support s390 diag event display on x86

2019-04-26 Thread Thomas Richter
35lp76 --stdio > /dev/null interpreting bpf_prog_info from systems with endianity is not yet supported interpreting btf from systems with endianity is not yet supported [root@f29 perf]# Signed-off-by: Thomas Richter --- tools/perf/util/s390-cpumsf.c | 95 --- 1 fil

[PATCH] perf/report: Report OOM in perf report status line

2019-04-23 Thread Thomas Richter
ne): 0xf4198 [0x8]: failed to process type: 68 Output after: 0xf4198 [0x8]: failed to process type: 68 [not enough memory] Signed-off-by: Thomas Richter Reviewed-by: Jiri Olsa Reviewed-by: Hendrik Brueckner --- tools/perf/util/session.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH] perf/report: Report OOM in perf report status line

2019-04-15 Thread Thomas Richter
ne): 0xf4198 [0x8]: failed to process type: 68 Output after: 0xf4198 [0x8]: failed to process type: 68 [not enough memory] Signed-off-by: Thomas Richter Reviewed-by: Jiri Olsa --- tools/perf/util/session.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/s

[tip:perf/core] perf list: Fix s390 counter long description for L1D_RO_EXCL_WRITES

2019-04-05 Thread tip-bot for Thomas Richter
Commit-ID: 7fcfa9a2d9a7c1b428d61992c2deaa9e37a437b0 Gitweb: https://git.kernel.org/tip/7fcfa9a2d9a7c1b428d61992c2deaa9e37a437b0 Author: Thomas Richter AuthorDate: Fri, 29 Mar 2019 14:33:37 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 1 Apr 2019 14:49:24 -0300 perf list

[PATCH] perf/report: [RFC] Handling OOM in perf report

2019-04-01 Thread Thomas Richter
of processing failure of a unrelated event. However this patch just does what the pr_debug() statement indicates, the event is skipped and processing continues. But at least the root cause is indicated and also shows up in the GUI. Signed-off-by: Thomas Richter --- tools/perf/builtin-report.c | 7 +

[PATCH] perf/list: Fix s390 counter long description for L1D_RO_EXCL_WRITES

2019-03-29 Thread Thomas Richter
Only state in the cache but has been updated to be in the Exclusive state that allows stores to the cache line] ... Fixes: 109d59b900e7 ("perf vendor events s390: Add JSON files for IBM z14") Signed-off-by: Thomas Richter --- tools/perf/pmu-events/arch/s390/cf_z14/extended

[tip:perf/core] perf test: Fix failure of 'evsel-tp-sched' test on s390

2019-02-27 Thread tip-bot for Thomas Richter
Commit-ID: 03d309711d687460d1345de8a0363f45b1c8cd11 Gitweb: https://git.kernel.org/tip/03d309711d687460d1345de8a0363f45b1c8cd11 Author: Thomas Richter AuthorDate: Tue, 19 Feb 2019 16:36:39 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Feb 2019 13:43:29 -0300 perf test

[PATCH] perf test: Fix failure of test 14 on s390

2019-02-19 Thread Thomas Richter
t@m35lp76 perf]# Output after: [root@m35lp76 perf]# ./perf test -Fv 14 14: Parse sched tracepoints fields: --- start --- end Parse sched tracepoints fields: Ok [root@m35lp76 perf]# Fixes: 489338a717a0 ("perf tests evsel-tp-sched: Fix bitwise operator") S

[tip:perf/core] perf report: Add s390 diagnosic sampling descriptor size

2019-02-15 Thread tip-bot for Thomas Richter
Commit-ID: 2187d87eacd46f6214ce3dc9cfd7a558375a4153 Gitweb: https://git.kernel.org/tip/2187d87eacd46f6214ce3dc9cfd7a558375a4153 Author: Thomas Richter AuthorDate: Mon, 11 Feb 2019 11:06:27 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 14 Feb 2019 13:31:08 -0300 perf

[PATCH] perf report: Add s390 diagnosic sampling descriptor size

2019-02-11 Thread Thomas Richter
Samples # Total Lost Samples: 0 # Samples: 3K of event 'SF_CYCLES_BASIC_DIAG' # Samples: 162 of event 'CF_DIAG' [root@s38lp82 perf]# Fixes: 2b1444f2e28b ("perf report: Add raw report support for s390 auxiliary trace") Signed-off-by: Thomas Richter Reviewed-by:

[tip:perf/core] perf report: Dump s390 counter set data to file

2019-01-22 Thread tip-bot for Thomas Richter
Commit-ID: 8dabe9c43af7aa78b16ce0d61bc595eca20c7a70 Gitweb: https://git.kernel.org/tip/8dabe9c43af7aa78b16ce0d61bc595eca20c7a70 Author: Thomas Richter AuthorDate: Thu, 17 Jan 2019 10:30:03 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:57 -0300 perf

[tip:perf/core] perf report: Display arch specific diagnostic counter sets, starting with s390

2019-01-22 Thread tip-bot for Thomas Richter
Commit-ID: 93115d32e814f3578601a0b7b3f4914509f4 Gitweb: https://git.kernel.org/tip/93115d32e814f3578601a0b7b3f4914509f4 Author: Thomas Richter AuthorDate: Thu, 17 Jan 2019 10:37:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:48 -0300 perf

[tip:perf/core] perf report: Display names in s390 diagnostic counter sets

2019-01-22 Thread tip-bot for Thomas Richter
Commit-ID: 3e4a1c536b2690cf461e930485b0ab0cdafba73b Gitweb: https://git.kernel.org/tip/3e4a1c536b2690cf461e930485b0ab0cdafba73b Author: Thomas Richter AuthorDate: Thu, 17 Jan 2019 10:30:02 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 21 Jan 2019 17:00:56 -0300 perf

[PATCHv2 1/3] perf report: Display s390 diagnostic counter sets

2019-01-17 Thread Thomas Richter
other platforms requires correct endianness handling. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/Build| 2 + tools/perf/util/s390-cpumcf-kernel.h | 62 +++ tools/perf/util/s390-sample-raw.c| 172

[PATCHv2 3/3] perf report: s390 dump counter set data to file.

2019-01-17 Thread Thomas Richter
sampling diagnostic data. ## stand for the CPU number the data was taken from. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpumsf.c | 77 --- 1 file changed, 73 insertions(+), 4 deletions(-) diff --git a/tools/per

[PATCHv2 2/3] perf report: Display names in s390 diagnostic counter sets

2019-01-17 Thread Thomas Richter
cles Value:0x001a9a73 [0x38] Counterset:1 Counters:2 Counter:000 problem_state_cpu_cycles Value:0x0007c59f Counter:001 problem_state_instructions Value:0x0002fad6 [0x50] Counterset:2 Counters:16 Counter:000 prng_functions Value:00 Signed-off-by: Thom

[Patchv2 0/3] perf report: Display CPU Measurement facility counter sets

2019-01-17 Thread Thomas Richter
ple-raw.c. It decodes the counter sets and is located in the common tree to enable decoding on other platforms (x86) as well. 2. Patch 3 unchanged Thomas Richter (3): perf report: Display s390 diagnostic counter sets perf report: Display names in s390 diagnostic counter sets perf/rep

[Patch 1/4] perf report: Add function for verbose dump of raw data

2019-01-11 Thread Thomas Richter
Add support to call an architecture dependend function to interpret raw data verbatim when dumping the perf.data file with option -D. This allows to display the event's raw data more verbatim than just plain hex data. Signed-off-by: Thomas Richter --- tools/perf/util/session.

[Patch 4/4] perf/report: s390 dump counter set data to file.

2019-01-11 Thread Thomas Richter
sampling diagnostic data. ## stand for the CPU number the data was taken from. Signed-off-by: Thomas Richter --- tools/perf/arch/s390/util/trace_event.c | 2 +- tools/perf/util/s390-cpumcf-kernel.h| 1 + tools/perf/util/s390-cpumsf.c | 76 +++--

[Patch 3/4] perf report: Display names in s390 diagnostic counter sets

2019-01-11 Thread Thomas Richter
cles Value:0x001a9a73 [0x38] Counterset:1 Counters:2 Counter:000 problem_state_cpu_cycles Value:0x0007c59f Counter:001 problem_state_instructions Value:0x0002fad6 [0x50] Counterset:2 Counters:16 Counter:000 prng_functions Value:00 Signed-off-by: Thom

[Patch 2/4] perf report: Display s390 diagnostic counter sets

2019-01-11 Thread Thomas Richter
in brackets is the offset into the raw data field of the sample. Signed-off-by: Thomas Richter --- tools/perf/arch/s390/util/Build | 2 +- tools/perf/arch/s390/util/trace_event.c | 146 tools/perf/util/s390-cpumcf-kernel.h| 61 + 3 files

[tip:perf/urgent] perf stat: Handle different PMU names with common prefix

2018-11-06 Thread tip-bot for Thomas Richter
Commit-ID: ea1fa48c055f833eb25f0c33188feecb7002ada5 Gitweb: https://git.kernel.org/tip/ea1fa48c055f833eb25f0c33188feecb7002ada5 Author: Thomas Richter AuthorDate: Tue, 23 Oct 2018 17:16:16 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Nov 2018 14:37:10 -0300 perf stat

[PATCH] perf/stat: Handle different PMU names with common prefix

2018-10-23 Thread Thomas Richter
1 tx_c_tend 0.001815365 seconds time elapsed 0.000123000 seconds user 0.001756000 seconds sys [root@s35lp76 perf]# Fixes: 292c34c10249 ("perf pmu: Fix core PMU alias list for X86 platform") Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc:

[tip:perf/core] perf test: S390 does not support watchpoints in test 22

2018-10-08 Thread tip-bot for Thomas Richter
Commit-ID: 0e24147d69c9357b1ccb54a9bc028eb9a9f9ed1a Gitweb: https://git.kernel.org/tip/0e24147d69c9357b1ccb54a9bc028eb9a9f9ed1a Author: Thomas Richter AuthorDate: Fri, 28 Sep 2018 12:53:35 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 8 Oct 2018 14:23:44 -0300 perf test

[PATCH v3] perf test: S390 does not support watchpoints in test 22

2018-09-28 Thread Thomas Richter
]# ./perf test -v 22 22: Watchpoint: Disabled [root@s8360046 perf]# Signed-off-by: Thomas Richter --- tools/perf/tests/builtin-test.c | 1 + tools/perf/tests/tests.h| 1 + tools/perf/tests/wp.c | 12 3 files changed, 14 insertions

[PATCH v2] perf test: S390 does not support watchpoints in test 22

2018-09-28 Thread Thomas Richter
: 22.1: Read Only Watchpoint: Skip 22.2: Write Only Watchpoint : Skip 22.3: Read / Write Watchpoint : Skip 22.4: Modify Watchpoint : Skip [root@s8360046 perf]# Signed-off-by: Thomas Richter

[tip:perf/core] perf report: Create auxiliary trace data files for s390

2018-09-06 Thread tip-bot for Thomas Richter
Commit-ID: 766e0618e49490bf67a35542880bcecbcee2e5fa Gitweb: https://git.kernel.org/tip/766e0618e49490bf67a35542880bcecbcee2e5fa Author: Thomas Richter AuthorDate: Thu, 9 Aug 2018 06:56:50 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 30 Aug 2018 15:52:20 -0300 perf report

Ping [PATCH v3] perf report: Create auxiliary trace data files for s390

2018-08-21 Thread Thomas Richter
rt ... [root@p23lp27 perf]# ll /tmp/aux.smp.00 -rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00 [root@p23lp27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpumsf.c | 94 +-- 1 file changed, 91 insert

[tip:perf/urgent] perf report: Add GUI report support for s390 auxiliary trace

2018-08-18 Thread tip-bot for Thomas Richter
Commit-ID: 33d9e1832e528ff61f481558882ee0f82e288440 Gitweb: https://git.kernel.org/tip/33d9e1832e528ff61f481558882ee0f82e288440 Author: Thomas Richter AuthorDate: Thu, 2 Aug 2018 09:46:22 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 8 Aug 2018 15:49:17 -0300 perf report

[tip:perf/urgent] perf report: Add raw report support for s390 auxiliary trace

2018-08-18 Thread tip-bot for Thomas Richter
Commit-ID: 2b1444f2e28be94b8f0b37376e1c619fd8cad63b Gitweb: https://git.kernel.org/tip/2b1444f2e28be94b8f0b37376e1c619fd8cad63b Author: Thomas Richter AuthorDate: Thu, 2 Aug 2018 09:46:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 8 Aug 2018 15:26:48 -0300 perf report

[tip:perf/urgent] perf auxtrace: Support for perf report -D for s390

2018-08-18 Thread tip-bot for Thomas Richter
Commit-ID: b96e6615cd197022017808a9fe82f1737e307875 Gitweb: https://git.kernel.org/tip/b96e6615cd197022017808a9fe82f1737e307875 Author: Thomas Richter AuthorDate: Thu, 2 Aug 2018 09:46:20 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 3 Aug 2018 10:34:18 -0300 perf

[PATCH v3] perf report: Create auxiliary trace data files for s390

2018-08-08 Thread Thomas Richter
rt ... [root@p23lp27 perf]# ll /tmp/aux.smp.00 -rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00 [root@p23lp27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpumsf.c | 94 +-- 1 file changed, 91 insert

[PATCH] perf report: Create auxiliary trace data files for s390

2018-08-06 Thread Thomas Richter
perf]# ./perf report ... [root@p23lp27 perf]# ll /tmp/aux.smp.00 -rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00 [root@p23lp27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpumsf.c | 94 +-- 1 file ch

[tip:perf/core] perf build: Fix installation directory for eBPF

2018-08-02 Thread tip-bot for Thomas Richter
Commit-ID: 83868bf71d2eb7700b37f1ea188007f0125e4ee4 Gitweb: https://git.kernel.org/tip/83868bf71d2eb7700b37f1ea188007f0125e4ee4 Author: Thomas Richter AuthorDate: Tue, 31 Jul 2018 09:32:54 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 31 Jul 2018 10:54:50 -0300 perf build

[PATCH 3/3] perf report: Add GUI report support for s390 auxiliary trace

2018-08-02 Thread Thomas Richter
2.04% 2.04% ls [kernel.kallsyms] [k] ___might_sleep 1.83% 1.83% ls [kernel.kallsyms] [k] debug_lockdep_rcu_enabled 1.44% 1.44% ls [kernel.kallsyms] [k] dput .... Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner ---

[PATCH 2/3] perf report: Add raw report support for s390 auxiliary trace

2018-08-02 Thread Thomas Richter
The basic sampling entry and diagnostic sampling entry sizes can be extracted using the trailer entries in the SDB. On older hardware these values (bsdes and dsdes in the trailer entry) are reserved and zero. Older hardware use hard coded values based on the s390 machine type. Signed-off-by: Thomas

[PATCH 1/3] perf auxtrace: Support for perf report -D for s390

2018-08-02 Thread Thomas Richter
]: PERF_RECORD_AUXTRACE size: 0x4 offset: 0 ref: 0 idx: 4 tid: -1 cpu: 4 Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/arch/s390/util/auxtrace.c | 1 + tools/perf/util/Build| 1 + tools/perf/util/auxtrace.c | 3

[PATCH 0/3] perf report: Add s390 auxiliary trace support

2018-08-02 Thread Thomas Richter
perf report interprets the perf.data input file with option -D. Patch 3: Display auxiliary trace in UI. Resolve addresses to symbols and file names. Thomas Richter (4): perf auxtrace: Support for perf report -D for s390 perf report: Add raw report support for s390 auxiliary

[PATCH v2] perf build: Fix installation directory for bpf

2018-07-31 Thread Thomas Richter
ring : Ok 40.2: BPF pinning : Ok 40.3: BPF prologue generation : Ok 40.4: BPF relocation checker : Ok [root@p23lp27 perf]# Suggested-by: Stefan Liebler Suggested-by: A

[PATCH v2] perf build: Fix installation directory for bpf

2018-07-26 Thread Thomas Richter
ring : Ok 40.2: BPF pinning : Ok 40.3: BPF prologue generation : Ok 40.4: BPF relocation checker : Ok [root@p23lp27 perf]# Suggested-by: Stefan Liebler Suggested-by: A

[tip:perf/core] perf test: Fix subtest number when showing results

2018-07-25 Thread tip-bot for Thomas Richter
Commit-ID: 9ef0112442bdddef5fb55adf20b3a5464b33de75 Gitweb: https://git.kernel.org/tip/9ef0112442bdddef5fb55adf20b3a5464b33de75 Author: Thomas Richter AuthorDate: Tue, 24 Jul 2018 15:48:58 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:55:51 -0300 perf test

[tip:perf/core] perf stat: Add transaction flag (-T) support for s390

2018-07-25 Thread tip-bot for Thomas Richter
Commit-ID: 742d92ff219f3aa7a67c184a57acfa8d88936cd6 Gitweb: https://git.kernel.org/tip/742d92ff219f3aa7a67c184a57acfa8d88936cd6 Author: Thomas Richter AuthorDate: Tue, 26 Jun 2018 09:17:01 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:49:37 -0300 perf stat

[tip:perf/core] perf kvm: Fix subcommands on s390

2018-07-25 Thread tip-bot for Thomas Richter
Commit-ID: 8a95c8994509c55abf1e38c0cc037b1205725e21 Gitweb: https://git.kernel.org/tip/8a95c8994509c55abf1e38c0cc037b1205725e21 Author: Thomas Richter AuthorDate: Thu, 12 Jul 2018 09:09:36 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 24 Jul 2018 14:49:49 -0300 perf kvm

  1   2   3   >