Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588628
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] perf tools: Force uncore events to system wide monitoring |
| Date | 2017-02-27 12:50 +0100 |
| Message-ID | <tfqg2-3L5-19@gated-at.bofh.it> (permalink) |
| References | <tel8J-79A-11@gated-at.bofh.it> <teogi-MF-15@gated-at.bofh.it> <teoJk-1cU-9@gated-at.bofh.it> <tfpWF-3Dy-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Feb 27, 2017 at 10:28:59AM +0100, Jiri Olsa wrote:
> would you mind testing new version?
Looks ok to me.
Thanks.
[boris@pd: ~/kernel/linux/tools/perf> ./perf stat -v -e amd_nb/event=0xe0,umask=0x1f/ sleep 1
Using CPUID AuthenticAMD-21-2
amd_nb/event=0xe0,umask=0x1f/: 977574 1002133816 1002133816
Performance counter stats for 'system wide':
977,574 amd_nb/event=0xe0,umask=0x1f/
1.002162083 seconds time elapsed
[boris@pd: ~/kernel/linux/tools/perf> ./perf stat -v -e amd_nb/event=0xe0,umask=0x1f/,cycles sleep 1
Using CPUID AuthenticAMD-21-2
Warning:
amd_nb/event=0xe0,umask=0x1f/ event is not supported by the kernel.
failed to read counter amd_nb/event=0xe0,umask=0x1f/
amd_nb/event=0xe0,umask=0x1f/: 0 0 0
cycles: 1132814 754123 754123
Performance counter stats for 'sleep 1':
<not supported> amd_nb/event=0xe0,umask=0x1f/
1,132,814 cycles
1.001673257 seconds time elapsed
[boris@pd: ~/kernel/linux/tools/perf> ./perf stat -v -e amd_nb/event=0xe0,umask=0x1f/,amd_nb/event=0xe1,umask=0x3/ sleep 1
Using CPUID AuthenticAMD-21-2
amd_nb/event=0xe0,umask=0x1f/: 1002677 1001767669 1001767669
amd_nb/event=0xe1,umask=0x3/: 0 1001764647 1001764647
Performance counter stats for 'system wide':
1,002,677 amd_nb/event=0xe0,umask=0x1f/
0 amd_nb/event=0xe1,umask=0x3/
1.001811216 seconds time elapsed
[boris@pd: ~/kernel/linux/tools/perf> ./perf stat -v -e amd_nb/event=0xe0,umask=0x1f/,amd_nb/event=0xe1,umask=0x3/,amd_nb/event=0xe2,umask=0x3/ sleep 1
Using CPUID AuthenticAMD-21-2
amd_nb/event=0xe0,umask=0x1f/: 216137 1001633975 1001633975
amd_nb/event=0xe1,umask=0x3/: 0 1001635564 1001635564
amd_nb/event=0xe2,umask=0x3/: 1084188 1001637368 1001637368
Performance counter stats for 'system wide':
216,137 amd_nb/event=0xe0,umask=0x1f/
0 amd_nb/event=0xe1,umask=0x3/
1,084,188 amd_nb/event=0xe2,umask=0x3/
1.001687549 seconds time elapsed
[boris@pd: ~/kernel/linux/tools/perf> ./perf stat -v -a -e amd_nb/event=0xe0,umask=0x1f/,amd_nb/event=0xe1,umask=0x3/,amd_nb/event=0xe2,umask=0x3/,cycles sleep 1
Using CPUID AuthenticAMD-21-2
amd_nb/event=0xe0,umask=0x1f/: 226857 1001760122 1001760122
amd_nb/event=0xe1,umask=0x3/: 0 1001757534 1001757534
amd_nb/event=0xe2,umask=0x3/: 1117142 1001753602 1001753602
cycles: 109689123 8014364579 8014364579
Performance counter stats for 'system wide':
226,857 amd_nb/event=0xe0,umask=0x1f/
0 amd_nb/event=0xe1,umask=0x3/
1,117,142 amd_nb/event=0xe2,umask=0x3/
109,689,123 cycles
1.001970476 seconds time elapsed
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] perf tools: Force uncore events to system wide monitoring Jiri Olsa <jolsa@kernel.org> - 2017-02-24 11:20 +0100
Re: [PATCH] perf tools: Force uncore events to system wide monitoring Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-02-24 14:40 +0100
Re: [PATCH] perf tools: Force uncore events to system wide monitoring Jiri Olsa <jolsa@redhat.com> - 2017-02-24 15:10 +0100
Re: [PATCH] perf tools: Force uncore events to system wide monitoring Jiri Olsa <jolsa@redhat.com> - 2017-02-27 10:40 +0100
Re: [PATCH] perf tools: Force uncore events to system wide monitoring Borislav Petkov <bp@alien8.de> - 2017-02-27 12:50 +0100
csiph-web