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 <acme@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQR2GiIUctdOfX2qHhGyPKLppCJ+JwUCXYYaMQAKCRCyPKLppCJ+
 JzYeAP4zktg7kJSTcvLUkfKA48Qg83DagICXt2NIk/sAukmtLAD9G2bAuetz3fv3
 aKD4okdp+RLDN+rpco7hSXeRVi0uLAI=
 =OCQm
 -----END PGP SIGNATURE-----

Merge tag 'perf-urgent-for-mingo-5.4-20190921' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent

Pull perf/urgent fixes from Arnaldo Carvalho de Melo:

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 <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Ingo Molnar 2019-09-22 12:45:11 +02:00
commit 2b32769700
31 changed files with 122 additions and 65 deletions