Re: [GIT PULL] perf/urgent fixes

2019-10-21 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 21, 2019 at 08:23:54AM +0200, Ingo Molnar escreveu:
> * Arnaldo Carvalho de Melo  wrote:
> > Please consider pulling,



> >  tools/perf/util/header.c  |  4 +++-
> >  tools/perf/util/util.c|  6 --
> >  12 files changed, 65 insertions(+), 17 deletions(-)
 
> Pulled, thanks a lot Arnaldo!

Thanks!
 
> A minor bugreport:
 
> There's a new nuisance message that I noticed when 'perf top' is started: 
> a "vmlinux file has not been found" - with a "press any key" - but the 
> message doesn't actually wait for the keypress, it's cleared on the first 
> screen refresh...

I'll investigate the problems reported after pushing out the current
perf/core lot, thanks for the detailed report!

- Arnaldo
 
> I'd argue that both the keypress action and the warning message is 
> superfluous:
> 
>  - It annoys users while not actually giving any straightforward way to 
>fix it. It's displayed on every startup of perf top, which is highly 
>distracting.
> 
>  - At least on Ubuntu it appears to be wrong, because the vmlinux is 
>available and symbol resolution/annotation appears to be working fine:
> 
>   # uname -a
>   Linux dagon 5.4.0-rc3-custom-00557-gb6c81ae120e0 #1 SMP PREEMPT Sun Oct 
> 20 15:28:00 CEST 2019 x86_64 x86_64 x86_64 GNU/Linux
> 
>   # dpkg -l | grep gb6c81ae120e
>   ii  linux-headers-5.4.0-rc3-custom-00557-gb6c81ae120e0   
> 5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
> kernel headers for 5.4.0-rc3-custom-00557-gb6c81ae120e0 on amd64
>   ii  linux-image-5.4.0-rc3-custom-00557-gb6c81ae120e0 
> 5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
> kernel, version 5.4.0-rc3-custom-00557-gb6c81ae120e0
>   ii  linux-image-5.4.0-rc3-custom-00557-gb6c81ae120e0-dbg 
> 5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
> kernel debugging symbols for 5.4.0-rc3-custom-00557-gb6c81ae120e0
>   ii  linux-libc-dev:amd64 
> 5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
> support headers for userspace development
> 
>Note that the 'dbg' package is installed which includes the vmlinux, 
>and perf does seem to find it:
> 
>   # dpkg-query -L linux-image-5.4.0-rc3-custom-00557-gb6c81ae120e0-dbg | 
> grep vmlinux$
>   /usr/lib/debug/lib/modules/5.4.0-rc3-custom-00557-gb6c81ae120e0/vmlinux
> 
>I can see annotated kernel functions just fine.
> 
>  - Finally, when I run perf as root then kallsyms and /proc/kcore is used 
>to annotate the kernel. So the 'cannot resolve' message cannot even be 
>true. :-)
> 
> Instead I believe some sort of explanation should be printed in the 
> natural flow when there's an unknown symbol or someone tries to enter a 
> kernel symbol that cannot be further resolved. Even there it probably 
> shouldn't be a 'warning' message, but something printed in-line where 
> usually we'd see the annotated output - to disrupt the normal workflow as 
> little as possible.
> 
> Secondly, there also appears to be a TUI weirdness when the annotated 
> kernel functions are small (or weird): the blue cursor is stuck at the 
> top and I cannot move between the annotated instructions with the down/up 
> arrow:
> 
> Samples: 13M of event 'cycles', 4000 Hz, Event count (approx.): 1272420588851
> clear_page_rep  
> /usr/lib/debug/boot/vmlinux-5.4.0-rc3-custom-00557-gb6c81ae120e0 [Percent: 
> local period]
>   0.01 │ mov  $0x200,%ecx 
>   
>▒
>│   xorl %eax,%eax 
>   
>▒
>   0.01 │ xor  %eax,%eax   
>   
>▒
>│   rep stosq  
>   
>▒
>  99.27 │ rep  stos %rax,%es:(%rdi)
>   
>▒
>│   ret
>   
>▒
>   0.71 │   ← retq 
> 
> I can still exit the screen with 'q', and can move around in larger 
> annotated kernel functions. Not sure whether it's related to function 
> size, or perhaps to the 'hottest' instruction that 

Re: [GIT PULL] perf/urgent fixes

2019-10-21 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo/Thomas,
> 
>   Please consider pulling,
> 
> Best regards,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 4f5cafb5cb8471e54afdc9054d973535614f7675:
> 
>   Linux 5.4-rc3 (2019-10-13 16:37:36 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.4-20191017
> 
> for you to fetch changes up to 1abecfcaa7bba21c9985e0136fa49836164dd8fd:
> 
>   perf kmem: Fix memory leak in compact_gfp_flags() (2019-10-16 10:08:32 
> -0300)
> 
> 
> perf/urgent fixes:
> 
> perf buildid-cache:
> 
>   Adrian Hunter:
> 
>   - Fix mode setting in copyfile_mode_ns() when copying /proc/kcore.
> 
> perf evlist:
> 
>   Andi Kleen:
> 
>   - Fix freeing id arrays.
> 
> tools headers:
> 
>   - Sync sched.h anc kvm.h headers with the kernel sources.
> 
> perf jvmti:
> 
>   Thomas Richter:
> 
>   - Link against tools/lib/ctype.o to have weak strlcpy().
> 
> perf annotate:
> 
>   Gustavo A. R. Silva:
> 
>   - Fix multiple memory and file descriptor leaks, found by coverity.
> 
> perf c2c/kmem:
> 
>   Yunfeng Ye:
> 
>- Fix leaks in error handling paths in 'perf c2c', 'perf kmem',  found by
>  internal static analysis tool.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (1):
>   perf tools: Fix mode setting in copyfile_mode_ns()
> 
> Andi Kleen (1):
>   perf evlist: Fix fix for freed id arrays
> 
> Arnaldo Carvalho de Melo (4):
>   tools headers kvm: Sync kvm headers with the kernel sources
>   tools headers kvm: Sync kvm headers with the kernel sources
>   tools headers kvm: Sync kvm.h headers with the kernel sources
>   tools headers UAPI: Sync sched.h with the kernel
> 
> Gustavo A. R. Silva (1):
>   perf annotate: Fix multiple memory and file descriptor leaks
> 
> Thomas Richter (1):
>   perf jvmti: Link against tools/lib/ctype.h to have weak strlcpy()
> 
> Yunfeng Ye (3):
>   perf tools: Fix resource leak of closedir() on the error paths
>   perf c2c: Fix memory leak in build_cl_output()
>   perf kmem: Fix memory leak in compact_gfp_flags()
> 
>  tools/arch/x86/include/uapi/asm/svm.h |  1 +
>  tools/arch/x86/include/uapi/asm/vmx.h |  6 +-
>  tools/include/uapi/linux/kvm.h|  2 ++
>  tools/include/uapi/linux/sched.h  | 30 --
>  tools/perf/builtin-c2c.c  | 14 +-
>  tools/perf/builtin-kmem.c |  1 +
>  tools/perf/jvmti/Build|  6 +-
>  tools/perf/util/annotate.c|  2 +-
>  tools/perf/util/copyfile.c|  8 +---
>  tools/perf/util/evlist.c  |  2 +-
>  tools/perf/util/header.c  |  4 +++-
>  tools/perf/util/util.c|  6 --
>  12 files changed, 65 insertions(+), 17 deletions(-)

Pulled, thanks a lot Arnaldo!

A minor bugreport:

There's a new nuisance message that I noticed when 'perf top' is started: 
a "vmlinux file has not been found" - with a "press any key" - but the 
message doesn't actually wait for the keypress, it's cleared on the first 
screen refresh...

I'd argue that both the keypress action and the warning message is 
superfluous:

 - It annoys users while not actually giving any straightforward way to 
   fix it. It's displayed on every startup of perf top, which is highly 
   distracting.

 - At least on Ubuntu it appears to be wrong, because the vmlinux is 
   available and symbol resolution/annotation appears to be working fine:

# uname -a
Linux dagon 5.4.0-rc3-custom-00557-gb6c81ae120e0 #1 SMP PREEMPT Sun Oct 
20 15:28:00 CEST 2019 x86_64 x86_64 x86_64 GNU/Linux

# dpkg -l | grep gb6c81ae120e
ii  linux-headers-5.4.0-rc3-custom-00557-gb6c81ae120e0   
5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
kernel headers for 5.4.0-rc3-custom-00557-gb6c81ae120e0 on amd64
ii  linux-image-5.4.0-rc3-custom-00557-gb6c81ae120e0 
5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
kernel, version 5.4.0-rc3-custom-00557-gb6c81ae120e0
ii  linux-image-5.4.0-rc3-custom-00557-gb6c81ae120e0-dbg 
5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
kernel debugging symbols for 5.4.0-rc3-custom-00557-gb6c81ae120e0
ii  linux-libc-dev:amd64 
5.4.0-rc3-custom-00557-gb6c81ae120e0-1 amd64Linux 
support headers for userspace development

   Note that the 'dbg' package is installed which includes the vmlinux, 
   and perf does seem to find it:

# dpkg-query -L linux-image-5.4.0-rc3-custom-00557-gb6c81ae120e0-dbg | 
grep vmlinux$

Re: [GIT PULL] perf/urgent fixes

2019-09-22 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo/Thomas,
> 
>   Please consider pulling,
> 
> Best regards,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 351a1f5c8afa13ea5cfcdae543f6596ef8ebdbd9:
> 
>   Merge tag 'perf-core-for-mingo-5.4-20190920-2' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2019-09-20 18:16:42 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.4-20190921
> 
> for you to fetch changes up to 9f014e3a66bc936412b6614304a4e6c70c70230e:
> 
>   perf/core: Fix several typos in comments (2019-09-20 16:05:20 -0300)
> 
> 
> perf/urgent fixes
> 
> perf tests:
> 
>   Jiri Olsa:
> 
>   - Fix 'make -C tools/perf build-test' static build entry.
> 
> perf record:
> 
>   Jiri Olsa:
> 
>   - Fix segfault in cpu_cache_level__read() when reading CPU topology.
> 
> session:
> 
>   Mamatha Inamdar:
> 
>   - Properly propagate error when reading a perf.data file, it may
> not exist or the user may not have permissions, etc.
> 
> perf probe:
> 
>   Masami Hiramatsu:
> 
>   - Skip same probe address for a given line.
> 
>   - Clear tev->nargs in clear_probe_trace_event(), fixing segfault.
> 
> tools headers UAPI:
> 
>   Arnaldo Carvalho de Melo:
> 
>   - Sync headers, among them prctl.h, that introduces two new options
> that are now supported in the 'perf trace' prctl syscall args
> beautifiers.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (4):
>   tools headers uapi: Sync prctl.h with the kernel sources
>   tools uapi asm-generic: Sync unistd.h with the kernel sources
>   tools arch x86 uapi: Synch asm/unistd.h with the kernel sources
>   tools arch x86: Sync asm/cpufeatures.h with the kernel sources
> 
> Jiri Olsa (2):
>   perf tests: Fix static build test
>   perf tools: Fix segfault in cpu_cache_level__read()
> 
> Mamatha Inamdar (1):
>   perf session: Return error code for perf_session__new() function on 
> failure
> 
> Masami Hiramatsu (2):
>   perf probe: Skip same probe address for a given line
>   perf probe: Fix to clear tev->nargs in clear_probe_trace_event()
> 
> Roy Ben Shlomo (1):
>   perf/core: Fix several typos in comments
> 
>  kernel/events/core.c |  6 +++---
>  tools/arch/x86/include/asm/cpufeatures.h |  3 +++
>  tools/arch/x86/include/uapi/asm/unistd.h |  2 +-
>  tools/include/uapi/asm-generic/unistd.h  |  2 +-
>  tools/include/uapi/linux/prctl.h |  7 ++-
>  tools/perf/builtin-annotate.c|  5 +++--
>  tools/perf/builtin-buildid-cache.c   |  5 +++--
>  tools/perf/builtin-buildid-list.c|  5 +++--
>  tools/perf/builtin-c2c.c |  6 --
>  tools/perf/builtin-diff.c|  9 +
>  tools/perf/builtin-evlist.c  |  5 +++--
>  tools/perf/builtin-inject.c  |  5 +++--
>  tools/perf/builtin-kmem.c|  5 +++--
>  tools/perf/builtin-kvm.c |  9 +
>  tools/perf/builtin-lock.c|  5 +++--
>  tools/perf/builtin-mem.c |  5 +++--
>  tools/perf/builtin-record.c  |  5 +++--
>  tools/perf/builtin-report.c  |  4 ++--
>  tools/perf/builtin-sched.c   | 11 ++-
>  tools/perf/builtin-script.c  |  9 +
>  tools/perf/builtin-stat.c| 11 ++-
>  tools/perf/builtin-timechart.c   |  5 +++--
>  tools/perf/builtin-top.c |  5 +++--
>  tools/perf/builtin-trace.c   |  4 ++--
>  tools/perf/tests/make|  2 +-
>  tools/perf/tests/topology.c  |  5 +++--
>  tools/perf/util/data-convert-bt.c|  5 -
>  tools/perf/util/header.c |  2 +-
>  tools/perf/util/probe-event.c|  1 +
>  tools/perf/util/probe-finder.c   | 19 +++
>  tools/perf/util/session.c| 15 +++
>  31 files changed, 122 insertions(+), 65 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL] perf/urgent fixes

2019-07-29 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> Best regards,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 289a2d22b5b611d85030795802a710e9f520df29:
> 
>   perf/x86/intel: Mark expected switch fall-throughs (2019-07-25 15:57:03 
> +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.3-20190729
> 
> for you to fetch changes up to 8aa259b10a6a759c50137bbbf225df0c17ca5d27:
> 
>   libbpf: fix missing __WORDSIZE definition (2019-07-29 10:18:08 -0300)
> 
> 
> perf/urgent fixes:
> 
> perf header:
> 
>   Vince Weaver:
> 
>   - Fix divide by zero error if f_header.attr_size==0, found using a perf 
> tool fuzzer.
> 
>   Numfor Mbiziwo-Tiapo:
> 
>   - Silence use of uninitialized value warning pointed out by clang's MSAN 
> tool.
> 
> libbpf:
> 
>   Andrii Nakryiko:
> 
>   - Fix missing __WORDSIZE definition in some systems, such as musl libc 
> (Alpine Linux).
> 
> tools header UAPI:
> 
>   Arnaldo Carvalho de Melo:
> 
>   - Sync headers to address perf build warnings:
> 
> - syscalls_64.tbl and generic unistd.h to pick up clone3 and pidfd_open.
> 
> - With new ioctls: kvm.h, drm.h and usbdevice_fs.h.
> 
> - No tooling change: mman.h, sched.h and if_link.h.
> 
> Documentation:
> 
>   Vince Weaver:
> 
>   - Fix perf.data documentation units for memory size, its kB, not bytes.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Andrii Nakryiko (1):
>   libbpf: fix missing __WORDSIZE definition
> 
> Arnaldo Carvalho de Melo (8):
>   tools include UAPI: Sync x86's syscalls_64.tbl and generic unistd.h to 
> pick up clone3 and pidfd_open
>   tools headers UAPI: Update tools's copy of kvm.h headers
>   tools headers UAPI: Update tools's copy of mman.h headers
>   tools headers UAPI: Update tools's copy of drm.h headers
>   tools perf beauty: Fix usbdevfs_ioctl table generator to handle _IOC()
>   tools headers UAPI: Sync usbdevice_fs.h with the kernels to get new 
> ioctl
>   tools headers UAPI: Sync sched.h with the kernel
>   tools headers UAPI: Sync if_link.h with the kernel
> 
> Numfor Mbiziwo-Tiapo (1):
>   perf header: Fix use of unitialized value warning
> 
> Vince Weaver (2):
>   perf header: Fix divide by zero error if f_header.attr_size==0
>   perf tools: Fix perf.data documentation units for memory size
> 
>  tools/arch/arm/include/uapi/asm/kvm.h  |  12 ++
>  tools/arch/arm64/include/uapi/asm/kvm.h|  10 +
>  tools/arch/powerpc/include/uapi/asm/mman.h |   4 -
>  tools/arch/sparc/include/uapi/asm/mman.h   |   4 -
>  tools/arch/x86/include/uapi/asm/kvm.h  |  22 ++-
>  tools/arch/x86/include/uapi/asm/vmx.h  |   1 -
>  tools/include/uapi/asm-generic/mman-common.h   |  15 +-
>  tools/include/uapi/asm-generic/mman.h  |  10 +-
>  tools/include/uapi/asm-generic/unistd.h|   8 +-
>  tools/include/uapi/drm/drm.h   |   1 +
>  tools/include/uapi/drm/i915_drm.h  | 209 
> -
>  tools/include/uapi/linux/if_link.h |   5 +
>  tools/include/uapi/linux/kvm.h |   3 +
>  tools/include/uapi/linux/sched.h   |  30 ++-
>  tools/include/uapi/linux/usbdevice_fs.h|  26 +++
>  tools/lib/bpf/hashmap.h|   5 +
>  tools/perf/Documentation/perf.data-file-format.txt |   2 +-
>  tools/perf/arch/x86/entry/syscalls/syscall_64.tbl  |   2 +
>  tools/perf/trace/beauty/usbdevfs_ioctl.sh  |   9 +-
>  tools/perf/util/header.c   |   9 +-
>  20 files changed, 352 insertions(+), 35 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL] perf/urgent fixes

2019-07-23 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> Best regards,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit e0c5c5e308ee9b3548844f0d88da937782b895ef:
> 
>   Merge tag 'perf-core-for-mingo-5.3-20190715' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2019-07-18 00:32:52 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.3-20190723
> 
> for you to fetch changes up to 39e7317e37f7f0be366d1201c283f968c17268da:
> 
>   perf build: Do not use -Wshadow on gcc < 4.8 (2019-07-23 09:04:54 -0300)
> 
> 
> perf/urgent fixes:
> 
> perf.data:
> 
>   Alexey Budankov:
> 
>   - Fix loading of compressed data split across adjacent records
> 
>   Jiri Olsa:
> 
>   - Fix buffer size setting for processing CPU topology perf.data header.
> 
> perf stat:
> 
>   Jiri Olsa:
> 
>   - Fix segfault for event group in repeat mode
> 
>   Cong Wang:
> 
>   - Always separate "stalled cycles per insn" line, it was being appended to
> the "instructions" line.
> 
> perf script:
> 
>   Andi Kleen:
> 
>   - Fix --max-blocks man page description.
> 
>   - Improve man page description of metrics.
> 
>   - Fix off by one in brstackinsn IPC computation.
> 
> perf probe:
> 
>   Arnaldo Carvalho de Melo:
> 
>   - Avoid calling freeing routine multiple times for same pointer.
> 
> perf build:
> 
>   - Do not use -Wshadow on gcc < 4.8, avoiding too strict warnings
> treated as errors, breaking the build.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Alexey Budankov (1):
>   perf session: Fix loading of compressed data split across adjacent 
> records
> 
> Andi Kleen (3):
>   perf script: Fix --max-blocks man page description
>   perf script: Improve man page description of metrics
>   perf script: Fix off by one in brstackinsn IPC computation
> 
> Arnaldo Carvalho de Melo (3):
>   perf probe: Set pev->nargs to zero after freeing pev->args entries
>   perf probe: Avoid calling freeing routine multiple times for same 
> pointer
>   perf build: Do not use -Wshadow on gcc < 4.8
> 
> Cong Wang (1):
>   perf stat: Always separate stalled cycles per insn
> 
> Jiri Olsa (2):
>   perf tools: Fix proper buffer size for feature processing
>   perf stat: Fix segfault for event group in repeat mode
> 
>  tools/perf/Documentation/perf-script.txt |  8 
>  tools/perf/builtin-probe.c   | 10 ++
>  tools/perf/builtin-script.c  |  2 +-
>  tools/perf/builtin-stat.c|  9 -
>  tools/perf/util/evsel.c  |  2 ++
>  tools/perf/util/header.c |  2 +-
>  tools/perf/util/probe-event.c|  1 +
>  tools/perf/util/session.c| 22 ++
>  tools/perf/util/session.h|  1 +
>  tools/perf/util/stat-shadow.c|  3 ++-
>  tools/perf/util/zstd.c   |  4 ++--
>  tools/scripts/Makefile.include   |  9 -
>  12 files changed, 54 insertions(+), 19 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL] perf/urgent fixes for 5.2

2019-05-28 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling, that is a trimmed down set from
> yesterday's pull req, with just fixes.
> 
>   The other stuff, mostly acting on the warnings for the UAPI
> changes are being packaged into a perf/core pull request I'll send for
> 5.3.
> 
>   I had it mostly done earlier, but then I noticed the fix for
> the syscall numbers, and backtracked to avoid sending yet another pull
> req, got too late in the -rc game, so 5.3 they go.
> 
>   I'm not reposting them, the only change was adding an Acked-by
> for one of the UAPI syncs, the drm.h one.
> 
> I did all the tests again, find them below, after the new signed
> tag.
> 
> Best regards,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 5bdd9ad875b6edf213f54ec3986ed9e8640c5cf9:
> 
>   Merge tag 'kbuild-fixes-v5.2' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild 
> (2019-05-20 17:22:17 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.2-20190528
> 
> for you to fetch changes up to a7350998a25ac10cdca5b33dee1d343a74debbfe:
> 
>   tools headers UAPI: Sync kvm.h headers with the kernel sources (2019-05-28 
> 09:52:23 -0300)
> 
> 
> perf/urgent fixes:
> 
> BPF:
> 
>   Jiri Olsa:
> 
>   - Fixup determination of end of kernel map, to avoid having BPF programs,
> that are after the kernel headers and just before module texts mixed up in
> the kernel map.
> 
> tools UAPI header copies:
> 
>   Arnaldo Carvalho de Melo:
> 
>   - Update copy of files related to new fspick, fsmount, fsconfig, fsopen,
> move_mount and open_tree syscalls.
> 
>   - Sync cpufeatures.h, sched.h, fs.h, drm.h, i915_drm.h and kvm.h headers.
> 
> Namespaces:
> 
>   Namhyung Kim:
> 
>   - Add missing byte swap ops for namespace events when processing records 
> from
> perf.data files that could have been recorded in a arch with a different
> endianness.
> 
>   - Fix access to the thread namespaces list by using the namespaces_lock.
> 
> perf data:
> 
>   Shawn Landden:
> 
>   - Fix 'strncat may truncate' build failure with recent gcc.
> 
> s/390
> 
>   Thomas Richter:
> 
>   - Fix s390 missing module symbol and warning for non-root users in 'perf 
> record'.
> 
> arm64:
> 
>   Vitaly Chikunov:
> 
>   - Fix mksyscalltbl when system kernel headers are ahead of the kernel.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (8):
>   tools include UAPI: Update copy of files related to new fspick, 
> fsmount, fsconfig, fsopen, move_mount and open_tree syscalls
>   tools arch x86: Sync asm/cpufeatures.h with the with the kernel
>   tools headers UAPI: Sync linux/sched.h with the kernel
>   tools headers UAPI: Sync linux/fs.h with the kernel
>   tools headers UAPI: Sync drm/i915_drm.h with the kernel
>   tools headers UAPI: Sync drm/drm.h with the kernel
>   perf test vmlinux-kallsyms: Ignore aliases to _etext when searching on 
> kallsyms
>   tools headers UAPI: Sync kvm.h headers with the kernel sources
> 
> Jiri Olsa (1):
>   perf machine: Read also the end of the kernel
> 
> Namhyung Kim (2):
>   perf namespace: Protect reading thread's namespace
>   perf session: Add missing swap ops for namespace events
> 
> Shawn Landden (1):
>   perf data: Fix 'strncat may truncate' build failure with recent gcc
> 
> Thomas Richter (1):
>   perf record: Fix s390 missing module symbol and warning for non-root 
> users
> 
> Vitaly Chikunov (1):
>   perf arm64: Fix mksyscalltbl when system kernel headers are ahead of 
> the kernel
> 
>  tools/arch/arm64/include/uapi/asm/kvm.h   |  43 
>  tools/arch/powerpc/include/uapi/asm/kvm.h |  46 
>  tools/arch/s390/include/uapi/asm/kvm.h|   4 +-
>  tools/arch/x86/include/asm/cpufeatures.h  |   3 +
>  tools/include/uapi/asm-generic/unistd.h   |  14 +-
>  tools/include/uapi/drm/drm.h  |  37 
>  tools/include/uapi/drm/i915_drm.h | 254 
> +++---
>  tools/include/uapi/linux/fcntl.h  |   2 +
>  tools/include/uapi/linux/fs.h |   3 +
>  tools/include/uapi/linux/kvm.h|  15 +-
>  tools/include/uapi/linux/mount.h  |  62 ++
>  tools/include/uapi/linux/sched.h  |   1 +
>  tools/perf/arch/arm64/entry/syscalls/mksyscalltbl |   2 +-
>  tools/perf/arch/s390/util/machine.c   |   9 +-
>  tools/perf/arch/x86/entry/syscalls/syscall_64.tbl |   6 +
>  tools/perf/tests/vmlinux-kallsyms.c   |   9 +-
>  tools/perf/util/data-convert-bt.c |   2 +-
>