linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2017-04-13 19:35 Arnaldo Carvalho de Melo
  2017-04-13 19:35 ` [PATCH 1/7] perf tools: Pass PYTHON config to feature detection Arnaldo Carvalho de Melo
                   ` (7 more replies)
  0 siblings, 8 replies; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2017-04-13 19:35 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	Alexander Shishkin, Alexis Berlemont, Andi Kleen,
	David Carrillo-Cisneros, He Kuang, Jiri Olsa, Kim Phillips,
	Masami Hiramatsu, Mathieu Poirier, Paul Turner, Peter Zijlstra,
	Ravi Bangoria, Simon Que, Stephane Eranian, Wang Nan

Hi Ingo,

	Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

Test results:

The first ones are container (docker) based builds of tools/perf with and
without libelf support, objtool where it is supported and samples/bpf/, ditto.
Where clang is available, it is also used to build perf with/without libelf.

For this specific pull request the samples/bpf/ was disabled, as 'make headers_install'
is failing with the following error, in this case in fedora:rawhide:

    INSTALL usr/include/uapi/ (0 file)
  /git/linux/scripts/Makefile.headersinst:62: *** Missing generated UAPI file ./arch/x86/include/generated/uapi/asm/unistd_32.h.  Stop.
  make[1]: *** [/git/linux/Makefile:1151: headers_install] Error 2
  make[1]: Leaving directory '/tmp/build/linux'
  make: *** [Makefile:152: sub-make] Error 2
  make: Leaving directory '/git/linux'

I'll investigate later, perf and objtool builds just fine, with clang and gcc.

Several are cross builds, the ones with -x-ARCH, and the android one, and those
may not have all the features built, due to lack of multi-arch devel packages,
available and being used so far on just a few, like
debian:experimental-x-{arm64,mipsel}.

The 'perf test' one will perform a variety of tests exercising
tools/perf/util/, tools/lib/{bpf,traceevent,etc}, as well as run perf commands
with a variety of command line event specifications to then intercept the
sys_perf_event syscall to check that the perf_event_attr fields are set up as
expected, among a variety of other unit tests.

Then there is the 'make -C tools/perf build-test' ones, that build tools/perf/
with a variety of feature sets, exercising the build with an incomplete set of
features as well as with a complete one. It is planned to have it run on each
of the containers mentioned above, using some container orchestration
infrastructure. Get in contact if interested in helping having this in place.

  # dm
   1 alpine:3.4: Ok
   2 alpine:3.5: Ok
   3 alpine:edge: Ok
   4 android-ndk:r12b-arm: Ok
   5 archlinux:latest: Ok
   6 centos:5: Ok
   7 centos:6: Ok
   8 centos:7: Ok
   9 debian:7: Ok
  10 debian:8: Ok
  11 debian:9: Ok
  12 debian:experimental: Ok
  13 debian:experimental-x-arm64: Ok
  14 debian:experimental-x-mips: Ok
  15 debian:experimental-x-mips64: Ok
  16 debian:experimental-x-mipsel: Ok
  17 fedora:20: Ok
  18 fedora:21: Ok
  19 fedora:22: Ok
  20 fedora:23: Ok
  21 fedora:24: Ok
  22 fedora:24-x-ARC-uClibc: Ok
  23 fedora:25: Ok
  24 fedora:rawhide: Ok
  25 mageia:5: Ok
  26 opensuse:13.2: Ok
  27 opensuse:42.1: Ok
  28 opensuse:tumbleweed: Ok
  29 ubuntu:12.04.5: Ok
  30 ubuntu:14.04.4: Ok
  31 ubuntu:14.04.4-x-linaro-arm64: Ok
  32 ubuntu:15.10: Ok
  33 ubuntu:16.04: Ok
  34 ubuntu:16.04-x-arm: Ok
  35 ubuntu:16.04-x-arm64: Ok
  36 ubuntu:16.04-x-powerpc: Ok
  37 ubuntu:16.04-x-powerpc64: Ok
  38 ubuntu:16.04-x-s390: Ok
  39 ubuntu:16.10: Ok
  40 ubuntu:17.04: Ok
  # 

  # uname -a
  Linux jouet 4.11.0-rc6+ #7 SMP Tue Apr 11 11:53:14 -03 2017 x86_64 x86_64 x86_64 GNU/Linux
  # perf test
   1: vmlinux symtab matches kallsyms            : Ok
   2: Detect openat syscall event                : Ok
   3: Detect openat syscall event on all cpus    : Ok
   4: Read samples using the mmap interface      : Ok
   5: Parse event definition strings             : Ok
   6: Simple expression parser                   : Ok
   7: PERF_RECORD_* events & perf_sample fields  : Ok
   8: Parse perf pmu format                      : Ok
   9: DSO data read                              : Ok
  10: DSO data cache                             : Ok
  11: DSO data reopen                            : Ok
  12: Roundtrip evsel->name                      : Ok
  13: Parse sched tracepoints fields             : Ok
  14: syscalls:sys_enter_openat event fields     : Ok
  15: Setup struct perf_event_attr               : Ok
  16: Match and link multiple hists              : Ok
  17: 'import perf' in python                    : Ok
  18: Breakpoint overflow signal handler         : Ok
  19: Breakpoint overflow sampling               : Ok
  20: Number of exit events of a simple workload : Ok
  21: Software clock events period values        : Ok
  22: Object code reading                        : Ok
  23: Sample parsing                             : Ok
  24: Use a dummy software event to keep tracking: Ok
  25: Parse with no sample_id_all bit set        : Ok
  26: Filter hist entries                        : Ok
  27: Lookup mmap thread                         : Ok
  28: Share thread mg                            : Ok
  29: Sort output of hist entries                : Ok
  30: Cumulate child hist entries                : Ok
  31: Track with sched_switch                    : Ok
  32: Filter fds with revents mask in a fdarray  : Ok
  33: Add fd to a fdarray, making it autogrow    : Ok
  34: kmod_path__parse                           : Ok
  35: Thread map                                 : Ok
  36: LLVM search and compile                    :
  36.1: Basic BPF llvm compile                    : Ok
  36.2: kbuild searching                          : Ok
  36.3: Compile source for BPF prologue generation: Ok
  36.4: Compile source for BPF relocation         : Ok
  37: Session topology                           : Ok
  38: BPF filter                                 :
  38.1: Basic BPF filtering                      : Ok
  38.2: BPF pinning                              : Ok
  38.3: BPF prologue generation                  : Ok
  38.4: BPF relocation checker                   : Ok
  39: Synthesize thread map                      : Ok
  40: Remove thread map                          : Ok
  41: Synthesize cpu map                         : Ok
  42: Synthesize stat config                     : Ok
  43: Synthesize stat                            : Ok
  44: Synthesize stat round                      : Ok
  45: Synthesize attr update                     : Ok
  46: Event times                                : Ok
  47: Read backward ring buffer                  : Ok
  48: Print cpu map                              : Ok
  49: Probe SDT events                           : Ok
  50: is_printable_array                         : Ok
  51: Print bitmap                               : Ok
  52: perf hooks                                 : Ok
  53: builtin clang support                      : Skip (not compiled in)
  54: unit_number__scnprintf                     : Ok
  55: x86 rdpmc                                  : Ok
  56: Convert perf time to TSC                   : Ok
  57: DWARF unwind                               : Ok
  58: x86 instruction decoder - new instructions : Ok
  59: Intel cqm nmi context read                 : Skip
  #

  $ perf stat make -C tools/perf build-test
  make: Entering directory '/home/acme/git/linux/tools/perf'
  - tarpkg: ./tests/perf-targz-src-pkg .
                  make_no_ui_O: make NO_NEWT=1 NO_SLANG=1 NO_GTK2=1
  make_no_libdw_dwarf_unwind_O: make NO_LIBDW_DWARF_UNWIND=1
         make_with_clangllvm_O: make LIBCLANGLLVM=1
            make_install_bin_O: make install-bin
             make_util_map_o_O: make util/map.o
               make_no_slang_O: make NO_SLANG=1
              make_no_libbpf_O: make NO_LIBBPF=1
                  make_debug_O: make DEBUG=1
                make_no_newt_O: make NO_NEWT=1
              make_clean_all_O: make clean all
           make_no_backtrace_O: make NO_BACKTRACE=1
            make_no_demangle_O: make NO_DEMANGLE=1
                   make_pure_O: make
         make_install_prefix_O: make install prefix=/tmp/krava
            make_no_auxtrace_O: make NO_AUXTRACE=1
             make_no_libperl_O: make NO_LIBPERL=1
                    make_doc_O: make doc
        make_with_babeltrace_O: make LIBBABELTRACE=1
                 make_static_O: make LDFLAGS=-static
              make_no_libelf_O: make NO_LIBELF=1
             make_no_libnuma_O: make NO_LIBNUMA=1
       make_util_pmu_bison_o_O: make util/pmu-bison.o
           make_no_libunwind_O: make NO_LIBUNWIND=1
             make_no_scripts_O: make NO_LIBPYTHON=1 NO_LIBPERL=1
                   make_tags_O: make tags
                   make_help_O: make help
                make_install_O: make install
           make_no_libpython_O: make NO_LIBPYTHON=1
           make_no_libbionic_O: make NO_LIBBIONIC=1
   make_install_prefix_slash_O: make install prefix=/tmp/krava/
            make_no_libaudit_O: make NO_LIBAUDIT=1
                make_no_gtk2_O: make NO_GTK2=1
                make_minimal_O: make NO_LIBPERL=1 NO_LIBPYTHON=1 NO_NEWT=1 NO_GTK2=1 NO_DEMANGLE=1 NO_LIBELF=1 NO_LIBUNWIND=1 NO_BACKTRACE=1 NO_LIBNUMA=1 NO_LIBAUDIT=1 NO_LIBBIONIC=1 NO_LIBDW_DWARF_UNWIND=1 NO_AUXTRACE=1 NO_LIBBPF=1 NO_LIBCRYPTO=1 NO_SDT=1 NO_JVMTI=1
                 make_perf_o_O: make perf.o
  OK
  make: Leaving directory '/home/acme/git/linux/tools/perf'
  $

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2015-11-23 21:53 Arnaldo Carvalho de Melo
  2015-11-24  8:10 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-11-23 21:53 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, David Ahern,
	Jan Kratochvil, Jiri Olsa, Masami Hiramatsu, Milian Wolff,
	Namhyung Kim, Peter Zijlstra, Taeung Song, Wang Nan,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo


The following changes since commit b7883a1c4f75edb62fc49da6000c59fb881e3c7b:

  perf/x86: Handle multiple umask bits for BDW CYCLE_ACTIVITY.* (2015-11-23 09:58:27 +0100)

are available in the git repository at:

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

for you to fetch changes up to 646a6e846c4dc3812c614fd061603b6db5b8d380:

  perf callchain: Add missing parent_val initialization (2015-11-23 18:31:25 -0300)

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

User visible:

- Allow callchain order (caller, callee) to the libdw and libunwind based DWARF
  unwinders (Jiri Olsa)

- Add missing parent_val initialization in the callchain code, fixing a
  SEGFAULT when using callchains with 'perf top' (Jiri Olsa)

- Add initial 'perf config' command, for now just with a --list command to
  show the contents of the configuration file in use and a basic man page
  describing its format, commands for doing edits and detailed documentation
  are being reviewed and proof-read. (Taeung Song)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Jiri Olsa (5):
      perf callchain: Move initial entry call into get_entries function
      perf callchain: Add order support for libunwind DWARF unwinder
      perf test: Add callchain order setup for DWARF unwinder test
      perf callchain: Add order support for libdw DWARF unwinder
      perf callchain: Add missing parent_val initialization

Taeung Song (2):
      perf tools: Add 'perf config' command
      perf config: Add initial man page

 tools/perf/Build                         |   1 +
 tools/perf/Documentation/perf-config.txt | 103 +++++++++++++++++++++++++++++++
 tools/perf/builtin-config.c              |  66 ++++++++++++++++++++
 tools/perf/builtin.h                     |   1 +
 tools/perf/command-list.txt              |   1 +
 tools/perf/perf.c                        |   1 +
 tools/perf/tests/dwarf-unwind.c          |  22 ++++++-
 tools/perf/util/callchain.h              |   1 +
 tools/perf/util/unwind-libdw.c           |  53 +++++++++++-----
 tools/perf/util/unwind-libdw.h           |   2 +
 tools/perf/util/unwind-libunwind.c       |  60 +++++++++++-------
 11 files changed, 272 insertions(+), 39 deletions(-)
 create mode 100644 tools/perf/Documentation/perf-config.txt
 create mode 100644 tools/perf/builtin-config.c

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2015-06-12  2:15 Arnaldo Carvalho de Melo
  2015-06-12  8:09 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-06-12  2:15 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter, Andi Kleen,
	Andy Shevchenko, Borislav Petkov, David Ahern, David Ahern,
	Don Zickus, Frederic Weisbecker, He Kuang, Jiri Olsa, Kan Liang,
	Milos Vyletel, Namhyung Kim, Peter Zijlstra, Steven Rostedt,
	Wang Nan, Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 028c63b56795206464263fa3bc47094704c2a840:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-06-09 11:46:04 +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

for you to fetch changes up to c8ad7063626406181a7ebab10cb31b4f741b13d4:

  perf tools: Update MANIFEST per files removed from kernel (2015-06-11 22:54:23 -0300)

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

User visible:

- Beautify perf_event_open syscall in 'perf trace'. (Arnaldo Carvalho de Melo)

- Error out unsupported group leader immediately in 'perf stat'. (Kan Liang)

- Amend some 'perf record' option summaries (period, etc) (Peter Zijlstra)

- Avoid possible race condition in copyfile() in 'perf buildid-cache'. (Milos Vyletel)

Infrastructure:

- Display 0x for hex values when printing the attribute. (Adrian Hunter)

- Update MANIFEST per files removed from kernel. (David Ahern)

Build fixes:

- Fix PRIu64 printf related failure on 32-bit arch. (He Kuang)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Adrian Hunter (1):
      perf evsel: Display 0x for hex values when printing the attribute

Arnaldo Carvalho de Melo (1):
      trace: Beautify perf_event_open syscall

David Ahern (1):
      perf tools: Update MANIFEST per files removed from kernel

He Kuang (1):
      perf tools: Fix build failure on 32-bit arch

Kan Liang (1):
      perf stat: Error out unsupported group leader immediately

Milos Vyletel (1):
      perf tools: Avoid possible race condition in copyfile()

Peter Zijlstra (1):
      perf record: Amend option summaries

 tools/perf/Documentation/perf-record.txt | 10 ++++--
 tools/perf/MANIFEST                      |  4 ---
 tools/perf/builtin-record.c              |  7 ++--
 tools/perf/builtin-report.c              |  2 +-
 tools/perf/builtin-stat.c                |  5 ++-
 tools/perf/builtin-trace.c               | 58 ++++++++++++++++++++++++++++++++
 tools/perf/util/evsel.c                  |  2 +-
 tools/perf/util/session.c                |  2 +-
 tools/perf/util/util.c                   | 46 ++++++++++++++++---------
 9 files changed, 106 insertions(+), 30 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2015-04-10 21:40 Arnaldo Carvalho de Melo
  2015-04-11  6:33 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-04-10 21:40 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	Borislav Petkov, David Ahern, Don Zickus, Frederic Weisbecker,
	He Kuang, Jiri Olsa, Masami Hiramatsu, Mike Galbraith,
	Namhyung Kim, Peter Zijlstra, Stephane Eranian, Wang Nan,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 51ab7155c08baf45cc2aa911961e5b78422e478f:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-04-08 17:03:47 +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

for you to fetch changes up to 7b8283b56d9fb36106ff1c459dfd399a20bd374d:

  perf evlist: Fix type for references to data_head/tail (2015-04-10 11:29:20 -0300)

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

New user visible features:

- Support multiple probes on different binaries on the same command line (Masami Hiramatsu)

User visible fixes:

- Fix synthesizing fork_event.ppid for non-main thread (David Ahern)

- Fix cross-endian analysis (David Ahern)

- Fix segfault in 'perf buildid-list' when show DSOs with hits (He Kuang)

Infrastructure:

- Fix type for references to data_head/tail (David Ahern)

- Fix error path to do closedir() when synthesizing threads (Arnaldo Carvalho de Melo)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
      perf tools: Fix error path to do closedir() when synthesizing threads

David Ahern (3):
      perf tools: Fix synthesizing fork_event.ppid for non-main thread
      perf tools: Fix cross-endian analysis
      perf evlist: Fix type for references to data_head/tail

He Kuang (1):
      perf buildid-list: Fix segfault when show DSOs with hits

Masami Hiramatsu (2):
      perf probe: Support multiple probes on different binaries
      perf probe: Check the orphaned -x option

 tools/perf/builtin-probe.c    | 19 +++++++++++++++++--
 tools/perf/builtin-record.c   |  4 ++--
 tools/perf/util/build-id.c    |  8 ++------
 tools/perf/util/event.c       | 31 +++++++++++++++++++++----------
 tools/perf/util/evlist.c      |  6 +++---
 tools/perf/util/evlist.h      |  9 ++++-----
 tools/perf/util/header.c      |  5 ++++-
 tools/perf/util/machine.c     |  4 +---
 tools/perf/util/machine.h     |  1 +
 tools/perf/util/probe-event.c |  5 +++--
 tools/perf/util/probe-event.h |  6 +++---
 11 files changed, 61 insertions(+), 37 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2014-06-23  7:59 Jiri Olsa
  2014-06-25  5:44 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Jiri Olsa @ 2014-06-23  7:59 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Corey Ashford,
	David Ahern, Frederic Weisbecker, Jan Kiszka, Namhyung Kim,
	Paul Mackerras, Peter Zijlstra, Steven Rostedt, Jiri Olsa

hi Ingo,
please consider pulling

thanks,
jirka


The following changes since commit 4ba96195051be30160af6d5f5f83f9a055ab1f23:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-06-13 08:19:06 +0200)

are available in the git repository at:


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

for you to fetch changes up to 1545d8aca9ac1cb3f503fb9c29543d539d99c7af:

  tools lib traceevent: Clean up format of args in jbd2 plugin (2014-06-19 18:18:37 +0200)

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

. Updates from trace-cmd for traceevent plugin_kvm plus args cleanup (Steven Rostedt, Jan Kiszka)

Signed-off-by: Jiri Olsa <jolsa@kernel.org>

----------------------------------------------------------------
Jan Kiszka (3):
      tools lib traceevent: Report unknown VMX exit reasons with code
      tools lib traceevent: Factor out print_exit_reason in kvm plugin
      tools lib traceevent: Fix and cleanup kvm_nested_vmexit tracepoints

Steven Rostedt (3):
      tools lib traceevent: Fix format in plugin_kvm
      tools lib traceevent: Clean up format of args in cfg80211 plugin
      tools lib traceevent: Clean up format of args in jbd2 plugin

Steven Rostedt (Red Hat) (1):
      tools lib traceevent: Add back in kvm plugins nested_vmexit events

 tools/lib/traceevent/plugin_cfg80211.c |  3 +-
 tools/lib/traceevent/plugin_jbd2.c     |  6 ++--
 tools/lib/traceevent/plugin_kvm.c      | 64 +++++++++++++++++++++++++++++-----
 3 files changed, 59 insertions(+), 14 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL  0/7] perf/core improvements and fixes
@ 2014-04-28 11:59 Jiri Olsa
  2014-04-29  6:42 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Jiri Olsa @ 2014-04-28 11:59 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Adrian Hunter, Arnaldo Carvalho de Melo,
	Corey Ashford, David Ahern, Don Zickus, Frederic Weisbecker,
	Jiri Olsa, Mike Galbraith, Namhyung Kim, Paul Mackerras,
	Peter Zijlstra, Stephane Eranian

hi Ingo,
please consider pulling

thanks,
jirka


The following changes since commit 2933d7813d8618f18632a7dc7f4e7f1f7d17383a:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-04-25 10:04:46 +0200)

are available in the git repository at:


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

for you to fetch changes up to fabf01238289e9ae009499594fc54642f5802a24:

  perf tests: Add map groups sharing with thread object test (2014-04-28 13:43:40 +0200)

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

. Add a test case for hists filtering (Namhyung Kim)

. Share map_groups among threads of the same group (Arnaldo Carvalho de Melo, Jiri Olsa)

Signed-off-by: Jiri Olsa <jolsa@kernel.org>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (2):
      perf tools: Allocate thread map_groups's dynamically
      perf tools: Reference count map_groups objects

Jiri Olsa (3):
      perf tests: Add thread maps lookup automated tests
      perf tools: Share map_groups among threads of the same group
      perf tests: Add map groups sharing with thread object test

Namhyung Kim (2):
      perf tests: Factor out fake_setup_machine()
      perf tests: Add a test case for hists filtering

 tools/perf/Makefile.perf                 |   4 +
 tools/perf/arch/x86/tests/dwarf-unwind.c |   2 +-
 tools/perf/perf.h                        |   6 +
 tools/perf/tests/builtin-test.c          |  12 ++
 tools/perf/tests/hists_common.c          | 148 +++++++++++++++
 tools/perf/tests/hists_common.h          |  44 +++++
 tools/perf/tests/hists_filter.c          | 315 +++++++++++++++++++++++++++++++
 tools/perf/tests/hists_link.c            | 141 +-------------
 tools/perf/tests/mmap-thread-lookup.c    | 233 +++++++++++++++++++++++
 tools/perf/tests/tests.h                 |   3 +
 tools/perf/tests/thread-mg-share.c       |  90 +++++++++
 tools/perf/ui/stdio/hist.c               |   2 +-
 tools/perf/util/event.c                  |   2 +-
 tools/perf/util/machine.c                |  11 ++
 tools/perf/util/map.c                    |  23 +++
 tools/perf/util/map.h                    |  12 ++
 tools/perf/util/thread.c                 |  52 +++--
 tools/perf/util/thread.h                 |   3 +-
 18 files changed, 948 insertions(+), 155 deletions(-)
 create mode 100644 tools/perf/tests/hists_common.c
 create mode 100644 tools/perf/tests/hists_common.h
 create mode 100644 tools/perf/tests/hists_filter.c
 create mode 100644 tools/perf/tests/mmap-thread-lookup.c
 create mode 100644 tools/perf/tests/thread-mg-share.c

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2013-11-07 15:04 Arnaldo Carvalho de Melo
  2013-11-07 15:26 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2013-11-07 15:04 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	David Ahern, Frederic Weisbecker, Jiri Olsa, Mike Galbraith,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra, Rodrigo Campos,
	Stephane Eranian, Arnaldo Carvalho de Melo

From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 8a4d0b56b031455adcbe4a9383c3b497456fcfac:

  Merge branch 'uprobes/core' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc into perf/core (2013-11-07 08:46:13 +0100)

are available in the git repository at:


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

for you to fetch changes up to 8ce000e83848578a621d64eccdc88bd34c2fc70c:

  perf tools: Remove unneeded include (2013-11-07 11:51:19 -0300)

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

. Fix version when building out of tree, as when using one of these:

  $ make help | grep perf
    perf-tar-src-pkg    - Build perf-3.12.0.tar source tarball
    perf-targz-src-pkg  - Build perf-3.12.0.tar.gz source tarball
    perf-tarbz2-src-pkg - Build perf-3.12.0.tar.bz2 source tarball
    perf-tarxz-src-pkg  - Build perf-3.12.0.tar.xz source tarball
  $

  from David Ahern.

. Don't relookup fields by name in each sample in 'trace'.

. 'perf record' code cleanups, from David Ahern.

. Remove unneeded include in sort.h, from Rodrigo Campos.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (2):
      perf evsel: Ditch evsel->handler.data field
      perf trace: Don't relookup fields by name in each sample

David Ahern (4):
      perf tools: Fix version when building out of tree
      perf record: Refactor feature handling into a separate function
      perf record: Remove advance_output function
      perf record: Remove post_processing_offset variable

Rodrigo Campos (1):
      perf tools: Remove unneeded include

 scripts/package/Makefile         |   4 +-
 tools/perf/builtin-inject.c      |  10 +-
 tools/perf/builtin-kmem.c        |   4 +-
 tools/perf/builtin-lock.c        |   4 +-
 tools/perf/builtin-record.c      |  48 ++++-----
 tools/perf/builtin-sched.c       |   4 +-
 tools/perf/builtin-timechart.c   |   4 +-
 tools/perf/builtin-trace.c       | 205 ++++++++++++++++++++++++++++++++++++---
 tools/perf/util/PERF-VERSION-GEN |   3 +
 tools/perf/util/evlist.c         |   2 +-
 tools/perf/util/evsel.h          |   5 +-
 tools/perf/util/session.c        |   4 +-
 tools/perf/util/sort.h           |   1 -
 13 files changed, 239 insertions(+), 59 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2012-06-27 19:20 Arnaldo Carvalho de Melo
  2012-06-29 13:12 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-06-27 19:20 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, David Ahern,
	Dmitry Antipov, Frederic Weisbecker, Hitoshi Mitake, Jiri Olsa,
	linaro-dev, Linus Torvalds, Mike Sartain, Namhyung Kim,
	Namhyung Kim, patches, Paul Mackerras, Peter Zijlstra,
	Pierre-Loup A. Griffais, Thomas Gleixner, Tim Chen, arnaldo.melo,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling.

	Tested on RHEL6.2, Fedora 17 x86 and x86_64,

- Arnaldo

The following changes since commit 357398e96d8c883b010379a7669df43ed0e2e32b:

  perf/x86: Fix section mismatch in uncore_pci_init() (2012-06-25 10:32:21 +0200)

are available in the git repository at:

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

for you to fetch changes up to d9873ab79376d5c0112ed09e14783067dc65e808:

  perf tools: Trivial build fix (2012-06-27 13:32:06 -0300)

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

. Improve 'perf bench' docs, by Namhyung Kim

. Fix build when O= is not used, from David Ahern

. Fix cross compilation build, from Namhyung Kim

. Fix pipe mode when callchains are used, from David Ahern

. Follow .gnu_debuglink section to find separate symbols, from Pierre-Loup A. Griffais

. Fix 'perf test' raw events entries, from Jiri Olsa

. Use the events description in the perf.data file, not the sysfs ones.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
      perf tools: Stop using a global trace events description list

David Ahern (2):
      perf report: Delay sample_type checks in pipe mode
      perf tools: Trivial build fix

Jiri Olsa (1):
      perf test: Fix parse events test to follow proper raw event name

Namhyung Kim (2):
      perf evsel: Fix a build failure on cross compilation
      perf bench: Documentation update

Pierre-Loup A. Griffais (1):
      perf symbols: Follow .gnu_debuglink section to find separate symbols

 tools/perf/Documentation/perf-bench.txt            |   78 +++++++++++++++-
 tools/perf/Makefile                                |    2 +-
 tools/perf/bench/mem-memcpy.c                      |    4 +-
 tools/perf/bench/mem-memset.c                      |    8 +-
 tools/perf/builtin-bench.c                         |    4 +-
 tools/perf/builtin-kmem.c                          |   37 +++++---
 tools/perf/builtin-lock.c                          |    4 +-
 tools/perf/builtin-report.c                        |    6 +-
 tools/perf/builtin-sched.c                         |   36 +++++---
 tools/perf/builtin-script.c                        |   66 ++++++++-----
 tools/perf/util/evlist.c                           |    4 +-
 tools/perf/util/evlist.h                           |    3 +
 tools/perf/util/evsel.c                            |    1 -
 tools/perf/util/header.c                           |   31 ++++---
 tools/perf/util/parse-events-test.c                |    7 +-
 .../perf/util/scripting-engines/trace-event-perl.c |   28 +++---
 .../util/scripting-engines/trace-event-python.c    |   21 +++--
 tools/perf/util/session.c                          |   56 +++++++++++
 tools/perf/util/session.h                          |   10 ++
 tools/perf/util/symbol.c                           |   65 ++++++++++++-
 tools/perf/util/symbol.h                           |    1 +
 tools/perf/util/trace-event-parse.c                |   58 ++++++------
 tools/perf/util/trace-event-read.c                 |   97 ++++++++++----------
 tools/perf/util/trace-event-scripting.c            |    7 +-
 tools/perf/util/trace-event.h                      |   38 ++++----
 25 files changed, 471 insertions(+), 201 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread
* [GIT PULL 0/7] perf/core improvements and fixes
@ 2012-03-05 15:55 Arnaldo Carvalho de Melo
  2012-03-05 16:02 ` Ingo Molnar
  0 siblings, 1 reply; 38+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-03-05 15:55 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Namhyung Kim,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit 737f24bda723fdf89ecaacb99fa2bf5683c32799:

  Merge branch 'perf/urgent' into perf/core (2012-03-05 09:20:08 +0100)

are available in the git repository at:


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

for you to fetch changes up to ff2a6617c2acd6a8dc468c90ab8708a6ad112bb0:

  perf annotate: Add missing newline on error message (2012-03-05 10:15:50 -0300)

----------------------------------------------------------------
Improvements for 'perf annotate' from Namhyung Kim.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Namhyung Kim (7):
      perf evlist: Restore original errno after open failed
      perf tools: Add descriptions of missing Makefile arguments
      perf annotate: Print asm code as blue when source code is displayed
      perf annotate: Handle lower case key code in annotate_browser__run()
      perf annotate: Restore title when came back to original symbol
      perf annotate: Fix help string on tui
      perf annotate: Add missing newline on error message

 tools/perf/Makefile                    |   14 ++++++++++++++
 tools/perf/util/annotate.c             |    2 +-
 tools/perf/util/evlist.c               |    1 +
 tools/perf/util/ui/browsers/annotate.c |   18 ++++++++++++------
 4 files changed, 28 insertions(+), 7 deletions(-)

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2017-04-17  8:15 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-13 19:35 [GIT PULL 0/7] perf/core improvements and fixes Arnaldo Carvalho de Melo
2017-04-13 19:35 ` [PATCH 1/7] perf tools: Pass PYTHON config to feature detection Arnaldo Carvalho de Melo
2017-04-13 19:35 ` [PATCH 2/7] perf stat: Fix bug in handling events in error state Arnaldo Carvalho de Melo
2017-04-13 19:35 ` [PATCH 3/7] perf trace: Add usage of --no-syscalls in man page Arnaldo Carvalho de Melo
2017-04-13 19:35 ` [PATCH 4/7] perf tools: Disable JVMTI if no ELF support available Arnaldo Carvalho de Melo
2017-04-13 19:35 ` [PATCH 5/7] tools build: Fix feature detection redefinion of build flags Arnaldo Carvalho de Melo
2017-04-13 19:35 ` [PATCH 6/7] perf util: Hint missing file when tool tips fail to load Arnaldo Carvalho de Melo
2017-04-13 19:35 ` [PATCH 7/7] Revert "perf tools: Fix include of linux/mman.h" Arnaldo Carvalho de Melo
2017-04-14 16:07 ` [GIT PULL 0/7] perf/core improvements and fixes Arnaldo Carvalho de Melo
2017-04-17  8:15   ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2015-11-23 21:53 Arnaldo Carvalho de Melo
2015-11-24  8:10 ` Ingo Molnar
2015-11-24  8:28   ` Jiri Olsa
2015-11-24  8:42     ` Ingo Molnar
2015-11-24  9:26       ` Jiri Olsa
2015-11-24  9:47         ` Jiri Olsa
2015-11-26 11:00           ` Ingo Molnar
2015-11-26 12:47             ` Jiri Olsa
2015-11-26  7:56         ` Ingo Molnar
2015-11-26  8:12           ` Ingo Molnar
2015-11-26  9:09             ` Jiri Olsa
2015-11-24 10:28   ` Jiri Olsa
2015-11-26  8:13   ` Ingo Molnar
2015-06-12  2:15 Arnaldo Carvalho de Melo
2015-06-12  8:09 ` Ingo Molnar
2015-04-10 21:40 Arnaldo Carvalho de Melo
2015-04-11  6:33 ` Ingo Molnar
2014-06-23  7:59 Jiri Olsa
2014-06-25  5:44 ` Ingo Molnar
2014-04-28 11:59 Jiri Olsa
2014-04-29  6:42 ` Ingo Molnar
2013-11-07 15:04 Arnaldo Carvalho de Melo
2013-11-07 15:26 ` Ingo Molnar
2012-06-27 19:20 Arnaldo Carvalho de Melo
2012-06-29 13:12 ` Ingo Molnar
2012-07-02  8:01   ` Dmitry Antipov
2012-03-05 15:55 Arnaldo Carvalho de Melo
2012-03-05 16:02 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).