) | 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/builtin-ftrace.c b/tools
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/
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
>>
>>
: 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
fined.
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/perf/util/synthetic-eve
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:
>>>&
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
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 --
@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
: 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 same kernel on both machi
le 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 58b90c42eb38..4e
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(+)
diff --git a/tools/
_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
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@t35lp46 p
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
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
o 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
---
tools/perf/t
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@t35lp46 per
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
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
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
ked_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
ballance.
Fixes: d44248a41337 ("perf/core: Rework memory accounting in perf_mm
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
map_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 above commit c
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/
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
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
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
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
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
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
(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
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
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
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
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
ion 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| 1 +
3 files changed,
'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 | 2 +-
3 files changed,
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
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
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
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
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
-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 4a69c07f4101..8f3c80e13584 100644
--- a/tools/perf
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
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
F_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-by: Hendrik Brueckner
---
tools/perf/arch/s390/util/
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
, 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
[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(-)
diff --git a/tools/perf/util
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
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
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
, 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
:
# ./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 ++
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
98 [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 deletions(
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
98 [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(-)
diff --g
98 [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/session.c b
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
ing 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 ++-
1
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.json | 2
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
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
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
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: Hendrik Brueckner
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
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
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
on 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
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/perf/util/s390-cpumsf.c
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
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
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.c | 7
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 +++--
3 files changed, 74
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
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
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
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
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: Kan Liang
Cc: # 4.18+
---
tools/perf/util/pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
dif
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: Kan Liang
Cc: # 4.18+
---
tools/perf/util/pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
dif
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
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
]# ./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
]# ./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
:
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
:
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
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
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
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 insertions(+), 3 deletions
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 insertions(+), 3 deletions
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
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
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
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
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
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
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 insertions(+), 3 deletions
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 insertions(+), 3 deletions
1 - 100 of 424 matches
Mail list logo