[GIT PULL 00/13] perf/core improvements and fixes

From: Arnaldo Carvalho de Melo
Date: Fri Apr 29 2016 - 10:58:28 EST


Hi Ingo,

Please consider pulling, tested on:

[root@jouet ~]# docker-perf-build-test
alldeps-fedora-rawhide: Ok
alldeps-ubuntu-14.04: Ok
alldeps-ubuntu-16.04: Ok <------------- New image
alldeps-fedora-20: Ok
alldeps-ubuntu-12.04: Ok
minimal-debian-experimental-x-mips64: Ok
minimal-debian-experimental-x-mips64el: Ok
minimal-debian-experimental-x-mipsel: Ok
minimal-ubuntu-x-arm: Ok
minimal-ubuntu-x-arm64: Ok
minimal-ubuntu-x-ppc64: Ok
minimal-ubuntu-x-ppc64el: Ok
alldeps-debian: Ok
alldeps-mageia: Ok
alldeps-rhel7: Ok
alldeps-centos: Ok
alldeps-opensuse: Ok
[root@jouet ~]#

- Arnaldo

The following changes since commit 3521ba1cc351e80488c3f85748c92c3853b75818:

powercap, perf/x86/intel/rapl: Add PSys support (2016-04-28 10:39:19 +0200)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160429

for you to fetch changes up to ca7ce82a280a65c377c24c95c29b1dec6e80b428:

perf tests: Do not use sizeof on pointer type (2016-04-28 15:37:52 -0300)

----------------------------------------------------------------
perf/core improvements and fixes:

User visible:

- Allow generate timestamped suffixed multiple perf.data files upon receiving
SIGUSR2 in 'perf record', to slice a long running monitoring session, allowing
to dump uninteresting sessions (Wang Nan)

- Handle ENOMEM for perf_event_max_stack + PERF_SAMPLE_CALLCHAIN
in perf_evsel__open_strerror(), showing a more informative
message when the request call stack depth can't be allocated by
the kernel (Arnaldo Carvalho de Melo)

Infrastructure:

- Use strbuf for making strings in 'perf probe' (Masami Hiramatsu)

- Do not use sizeof on pointer type, not a problem since its a pointer to
pointer, fix none the less. Found by Coccinelle (Vaishali Thakkar)

Cleanups:

- Fix for Coverity found issues in the bpf feature build test (Florian Fainelli)

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (3):
perf evsel: Handle ENOMEM for perf_event_max_stack + PERF_SAMPLE_CALLCHAIN
perf evsel: Remove two extraneous ending newlines in open_strerror()
perf trace: Move msg_flags beautifier to tools/perf/trace/beauty/

Florian Fainelli (2):
bpf tools: Remove expression with no effect
bpf tools: Fix syscall argument

Masami Hiramatsu (1):
perf probe: Use strbuf for making strings

Vaishali Thakkar (1):
perf tests: Do not use sizeof on pointer type

Wang Nan (6):
perf tools: Introduce trigger class
perf tools: Derive trigger class from auxtrace_snapshot
perf record: Split output into multiple files via '--switch-output'
perf record: Force enable --timestamp-filename when --switch-output is provided
perf record: Disable buildid cache options by default in switch output mode
perf record: Generate tracking events for process forked by perf

tools/build/feature/test-bpf.c | 3 +-
tools/perf/Documentation/perf-record.txt | 13 ++
tools/perf/builtin-record.c | 173 +++++++++++++++-------
tools/perf/builtin-trace.c | 62 +-------
tools/perf/tests/dso-data.c | 2 +-
tools/perf/trace/beauty/msg_flags.c | 62 ++++++++
tools/perf/util/evsel.c | 12 +-
tools/perf/util/probe-event.c | 246 +++++++++++--------------------
tools/perf/util/probe-event.h | 2 +-
tools/perf/util/probe-finder.c | 14 +-
tools/perf/util/trigger.h | 94 ++++++++++++
11 files changed, 393 insertions(+), 290 deletions(-)
create mode 100644 tools/perf/trace/beauty/msg_flags.c
create mode 100644 tools/perf/util/trigger.h