perf/core improvements and fixes:

BPF:
 
   Song Liu:
 
   - Introduce PERF_RECORD_KSYMBOL to allow tooling to notice the addition
     of new kernel symbols and be able to resolve samples in such symbols.
 
   - Introduce PERF_RECORD_BPF_EVENT to notify tooling about the loading
     and unloading of BPF programs, making them visible and allowing for
     the request of further information to allow for things like annotation.
 
   - Change the userspace perf tools to handle those new events and to
     synthesize them for pre-existing loaded BPF programs.
 
 Kernel:
 
   Arnaldo Carvalho de Melo:
 
   - Make perf_event_output() propagate the output() return, allowing
     users to check for -ENOSPC in the ring buffer.
 
 perf report:
 
   Thomas Richter:
 
   - Display arch specific diagnostic counter sets, starting with s390
     diagnostic counter sets.
 
 perf session:
 
   Jiri Olsa:
 
   - Introduce a reader object to prep for multithreaded processing
     of recorded events.
 
 Misc:
 
   Rasmus Villemoes:
 
   - Replace automatic const char[] variables by statics, to avoid
     initializing them at runtime, instead having them in .rodata,
     reducing code size.
 
   YueHaibing:
 
   - Remove duplicated workqueue.h include from perf_event.h
 
   Brajeswar Ghosh:
 
   - Remove some more duplicated headers.
 
 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQR2GiIUctdOfX2qHhGyPKLppCJ+JwUCXEZbWgAKCRCyPKLppCJ+
 J9rPAP0cYnWEKYbGA0mVU2SMg5hWEmd8AyByhs1heXc5AW9xeAD+L0w7t0TzALW2
 q6gvVX93dairowD+UJ5FUMYfDDfwYQA=
 =si0E
 -----END PGP SIGNATURE-----

Merge tag 'perf-core-for-mingo-5.0-20190121' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:

BPF:

  Song Liu:

  - Introduce PERF_RECORD_KSYMBOL to allow tooling to notice the addition
    of new kernel symbols and be able to resolve samples in such symbols.

  - Introduce PERF_RECORD_BPF_EVENT to notify tooling about the loading
    and unloading of BPF programs, making them visible and allowing for
    the request of further information to allow for things like annotation.

  - Change the userspace perf tools to handle those new events and to
    synthesize them for pre-existing loaded BPF programs.

Kernel:

  Arnaldo Carvalho de Melo:

  - Make perf_event_output() propagate the output() return, allowing
    users to check for -ENOSPC in the ring buffer.

perf report:

  Thomas Richter:

  - Display arch specific diagnostic counter sets, starting with s390
    diagnostic counter sets.

perf session:

  Jiri Olsa:

  - Introduce a reader object to prep for multithreaded processing
    of recorded events.

Misc:

  Rasmus Villemoes:

  - Replace automatic const char[] variables by statics, to avoid
    initializing them at runtime, instead having them in .rodata,
    reducing code size.

  YueHaibing:

  - Remove duplicated workqueue.h include from perf_event.h

  Brajeswar Ghosh:

  - Remove some more duplicated headers.

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-01-22 11:07:01 +01:00
commit f575494d4a
45 changed files with 1358 additions and 125 deletions