linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL 00/33] perf/core improvements and fixes
@ 2014-07-17 16:12 Arnaldo Carvalho de Melo
  2014-07-17 16:12 ` [PATCH 01/33] perf kvm: Use defines of kvm events Arnaldo Carvalho de Melo
                   ` (33 more replies)
  0 siblings, 34 replies; 36+ messages in thread
From: Arnaldo Carvalho de Melo @ 2014-07-17 16:12 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	Alexander Yarygin, Christian Borntraeger, Corey Ashford,
	Cornelia Huck, David Ahern, Frederic Weisbecker, Jiri Olsa,
	Joseph Schuchart, Namhyung Kim, Namhyung Kim, Paul Mackerras,
	Peter Zijlstra, Stephane Eranian, Thomas Ilsche,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit ff2ebe46e15bd49d52b9c2f3fc77f3a9d94eac7b:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-07-16 13:48:13 +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 0b437860818dc717f6a9e8a5089223a8414f5fff:

  perf tools: Allow TSC conversion on any arch (2014-07-17 12:59:00 -0300)

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

User visible:

o Support S/390 in 'perf kvm stat' (Alexander Yarygin)

Developer Stuff:

o Various fixes and prep work related to supporting Intel PT (Adrian Hunter)

o Introduce multiple debug variables control (Jiri Olsa)

o Add callchain and additional sample information for python scripts (Joseph Schuchart)

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

----------------------------------------------------------------
Adrian Hunter (21):
      perf machine: Fix the value used for unknown pids
      perf script: Display PERF_RECORD_MISC_COMM_EXEC flag
      perf record: Select comm_exec flag if supported
      perf tools: Fix missing kernel map load
      perf symbols: Fix missing GNU IFUNC symbols
      perf inject: Fix build id injection
      perf callchain: Fix appending a callchain from a previous sample
      perf buildid-cache: Apply force option to copying kcore
      perf symbols: Record whether a dso is 64-bit
      perf symbols: Do not attempt to read data from kallsyms
      perf symbols: Add ability to iterate over a dso's symbols
      perf session: Flag if the event stream is entirely in memory
      perf evlist: Pass mmap parameters in a struct
      perf tools: Add feature test for __sync_val_compare_and_swap
      perf tools: Add option macro OPT_CALLBACK_OPTARG
      perf evsel: Add 'no_aux_samples' option
      perf evsel: Add 'immediate' option
      perf machine: Fix map groups of threads with unknown pids
      perf thread: Allow deletion of a thread with no map groups
      perf machine: Fix leak of 'struct thread' on error path
      perf tools: Allow TSC conversion on any arch

Alexander Yarygin (4):
      perf kvm: Use defines of kvm events
      perf kvm: Move arch specific code into arch/
      perf kvm: Add skip_event() for --duration option
      perf kvm: Add stat support on s390

Jiri Olsa (5):
      perf tools: Remove verbose from functions prototypes
      perf tools: Move pr_* debug macros into debug object
      perf tools: Factor eprintf to allow different debug variables
      perf tools: Add --debug optionto set debug variable
      perf tools: Remove needless getopt.h includes

Joseph Schuchart (3):
      perf script: Add missing calls to Py_DECREF for return values
      perf script: Add callchain to generic and tracepoint events
      perf script: Provide additional sample information on generic events

 arch/s390/include/uapi/asm/Kbuild                  |   1 +
 arch/s390/include/uapi/asm/kvm_perf.h              |  25 ++
 arch/x86/include/uapi/asm/Kbuild                   |   1 +
 arch/x86/include/uapi/asm/kvm_perf.h               |  16 +
 tools/perf/Documentation/perf-kvm.txt              |  16 +-
 tools/perf/Documentation/perf.txt                  |  10 +-
 tools/perf/MANIFEST                                |   3 +
 tools/perf/Makefile.perf                           |   3 +
 tools/perf/arch/s390/Makefile                      |   2 +
 tools/perf/arch/s390/util/kvm-stat.c               | 105 ++++++
 tools/perf/arch/x86/Makefile                       |   1 +
 tools/perf/arch/x86/tests/dwarf-unwind.c           |   1 +
 tools/perf/arch/x86/util/kvm-stat.c                | 156 +++++++++
 tools/perf/arch/x86/util/tsc.c                     |  22 +-
 tools/perf/arch/x86/util/tsc.h                     |   3 -
 tools/perf/arch/x86/util/unwind-libunwind.c        |   1 +
 tools/perf/builtin-buildid-cache.c                 |   8 +-
 tools/perf/builtin-evlist.c                        |   1 +
 tools/perf/builtin-help.c                          |   1 +
 tools/perf/builtin-inject.c                        |   3 +
 tools/perf/builtin-kvm.c                           | 384 ++++++---------------
 tools/perf/builtin-sched.c                         |  12 +-
 tools/perf/builtin-timechart.c                     |   1 +
 tools/perf/config/Makefile                         |   6 +
 tools/perf/config/feature-checks/Makefile          |   4 +
 tools/perf/config/feature-checks/test-all.c        |   5 +
 .../feature-checks/test-sync-compare-and-swap.c    |  14 +
 tools/perf/perf.c                                  |  13 +-
 .../python/Perf-Trace-Util/lib/Perf/Trace/Core.py  |   3 +-
 tools/perf/scripts/python/check-perf-trace.py      |   4 +-
 .../perf/scripts/python/failed-syscalls-by-pid.py  |   2 +-
 tools/perf/scripts/python/futex-contention.py      |   4 +-
 tools/perf/scripts/python/net_dropmonitor.py       |   2 +-
 tools/perf/scripts/python/netdev-times.py          |  26 +-
 tools/perf/scripts/python/sched-migration.py       |  41 ++-
 tools/perf/scripts/python/sctop.py                 |   2 +-
 tools/perf/scripts/python/syscall-counts-by-pid.py |   2 +-
 tools/perf/scripts/python/syscall-counts.py        |   2 +-
 tools/perf/tests/dso-data.c                        |   1 +
 tools/perf/tests/evsel-roundtrip-name.c            |   1 +
 tools/perf/tests/evsel-tp-sched.c                  |   1 +
 tools/perf/tests/open-syscall-tp-fields.c          |   1 +
 tools/perf/tests/parse-events.c                    |   1 +
 tools/perf/tests/parse-no-sample-id-all.c          |   1 +
 tools/perf/tests/perf-time-to-tsc.c                |   3 +-
 tools/perf/tests/sample-parsing.c                  |   1 +
 tools/perf/tests/thread-mg-share.c                 |   1 +
 tools/perf/ui/stdio/hist.c                         |   2 +-
 tools/perf/util/callchain.c                        |   2 +-
 tools/perf/util/data.c                             |   1 +
 tools/perf/util/debug.c                            |  56 ++-
 tools/perf/util/debug.h                            |  22 ++
 tools/perf/util/dso.c                              |   1 +
 tools/perf/util/dso.h                              |   1 +
 tools/perf/util/event.c                            |  10 +-
 tools/perf/util/evlist.c                           |  46 +--
 tools/perf/util/evsel.c                            |  14 +-
 tools/perf/util/evsel.h                            |   2 +
 tools/perf/util/include/linux/kernel.h             |  21 --
 tools/perf/util/kvm-stat.h                         | 140 ++++++++
 tools/perf/util/machine.c                          |  63 +++-
 tools/perf/util/map.c                              |  38 +-
 tools/perf/util/map.h                              |  10 +-
 tools/perf/util/parse-options.h                    |   5 +
 tools/perf/util/probe-finder.c                     |   1 -
 tools/perf/util/pstack.c                           |   1 +
 tools/perf/util/python.c                           |   4 +-
 tools/perf/util/record.c                           |  18 +-
 .../perf/util/scripting-engines/trace-event-perl.c |   1 +
 .../util/scripting-engines/trace-event-python.c    | 140 +++++++-
 tools/perf/util/session.c                          |  14 +-
 tools/perf/util/session.h                          |   3 +
 tools/perf/util/symbol-elf.c                       |   6 +-
 tools/perf/util/symbol-minimal.c                   |  22 ++
 tools/perf/util/symbol.c                           |  20 +-
 tools/perf/util/symbol.h                           |   4 +
 tools/perf/util/thread.c                           |  12 +-
 tools/perf/util/trace-event-info.c                 |   1 +
 tools/perf/util/trace-event-read.c                 |   2 +-
 tools/perf/util/tsc.c                              |  25 ++
 tools/perf/util/tsc.h                              |  11 +
 tools/perf/util/unwind-libdw.c                     |   1 +
 tools/perf/util/unwind-libunwind.c                 |   1 +
 tools/perf/util/util.c                             |   1 +
 tools/perf/util/vdso.c                             |   1 +
 85 files changed, 1170 insertions(+), 470 deletions(-)
 create mode 100644 arch/s390/include/uapi/asm/kvm_perf.h
 create mode 100644 arch/x86/include/uapi/asm/kvm_perf.h
 create mode 100644 tools/perf/arch/s390/util/kvm-stat.c
 create mode 100644 tools/perf/arch/x86/util/kvm-stat.c
 create mode 100644 tools/perf/config/feature-checks/test-sync-compare-and-swap.c
 create mode 100644 tools/perf/util/kvm-stat.h
 create mode 100644 tools/perf/util/tsc.c
 create mode 100644 tools/perf/util/tsc.h

^ permalink raw reply	[flat|nested] 36+ messages in thread
* [GIT PULL 00/33] perf/core improvements and fixes
@ 2014-08-04 16:17 Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 36+ messages in thread
From: Arnaldo Carvalho de Melo @ 2014-08-04 16:17 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter, Andi Kleen,
	Christian Borntraeger, Corey Ashford, David Ahern, Don Zickus,
	Frederic Weisbecker, Jean Pihet, Jiri Olsa, kvm, Mark Salter,
	Mike Galbraith, Minchan Kim, Namhyung Kim, Paolo Bonzini,
	Paul Mackerras, Peter Zijlstra, Stephane Eranian, Thomas Ilsche,
	William Cohen, Yann Droneaud, Arnaldo Carvalho de Melo

Hi Ingo,

	Mostly fixes plus some refactoring work, more to come as I process
Adrian Hunter big patch set and other that missed this pull request.

	Please consider pulling,

- Arnaldo

The following changes since commit f9b9f812235d53f774a083e88a5a23b517a69752:

  Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf into perf/core (2014-07-30 14:51:06 +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 55b7e5fcf4782335c1ee5b4a2076697527c36407:

  perf tools: Default to python version 2 (2014-08-04 12:21:37 -0300)

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

User visible:

. Show better error message in case we fail to open counters due to EBUSY error,
  for instance, when oprofile is running. (Jiri Olsa)

. Honour -w in the report tools (report, top), allowing to specify the widths
  for the histogram entries columns. (Namhyung Kim)

. Don't run workload if not told to, as happens when the user has no
  permission for profiling and even then the specified workload ends
  up running (Arnaldo Carvalho de Melo)

. Do not ignore mmap events in 'perf kmem report'. This tool was using
  the kernel mmaps in the running machine instead of processing the mmap
  records from the perf.data file. (Namhyung Kim)

. Properly show submicrosecond times in 'perf kvm stat' (Christian Borntraeger)

. Allow the user to disable time stamps in 'perf record' (Andi Kleen)

. Make sure --symfs usage includes the path separator (Arnaldo Carvalho de Melo)

Developer Stuff:

. Fix arm64 build error (Mark Salter)

. Fix make PYTHON override (Namhyung Kim)

. Rename ordered_samples to ordered_events and allow setting a queue
  size for ordering events (Jiri Olsa)

. Default to python version 2 (Thomas Ilsche)

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

----------------------------------------------------------------
Andi Kleen (1):
      perf record: Allow the user to disable time stamps

Arnaldo Carvalho de Melo (2):
      perf evlist: Don't run workload if not told to
      perf symbols: Make sure --symfs usage includes the path separator

Christian Borntraeger (1):
      perf kvm stat: Properly show submicrosecond times

Jiri Olsa (18):
      perf tools: Rename ordered_samples bool to ordered_events
      perf tools: Rename ordered_samples struct to ordered_events
      perf tools: Rename ordered_events members
      perf tools: Add ordered_events__(new|delete) interface
      perf tools: Factor ordered_events__flush to be more generic
      perf tools: Limit ordered events queue size
      perf tools: Flush ordered events in case of allocation failure
      perf tools: Make perf_session__deliver_event global
      perf tools: Create ordered-events object
      perf tools: Use list_move in ordered_events_delete function
      perf tools: Add ordered_events__init function
      perf tools: Add ordered_events__free function
      perf tools: Add perf_config_u64 function
      perf tools: Add report.queue-size config file option
      perf tools: Add debug prints for ordered events queue
      perf tools: Allow out of order messages in forced flush
      perf tools: Show better error message in case we fail to open counters due to EBUSY error
      perf tools: Fix PERF_FLAG_FD_CLOEXEC flag probing event type open counters due to EBUSY error

Mark Salter (1):
      perf tools: Fix arm64 build error

Namhyung Kim (9):
      perf kmem: Do not ignore mmap events
      perf tools: Fix make PYTHON override
      perf tools: Left-align output contents
      perf tools: Make __hpp__fmt() receive an additional len argument
      perf tools: Save column length in perf_hpp_fmt
      perf report: Honor column width setting
      perf top: Add -w option for setting column width
      perf tools: Add name field into perf_hpp_fmt
      perf tools: Fix column alignment when headers aren't shown on TUI

Thomas Ilsche (1):
      perf tools: Default to python version 2

 tools/perf/Documentation/perf-report.txt  |   2 +-
 tools/perf/Documentation/perf-top.txt     |   6 +
 tools/perf/Makefile.perf                  |   2 +
 tools/perf/arch/arm64/include/perf_regs.h |   2 +
 tools/perf/builtin-annotate.c             |   2 +-
 tools/perf/builtin-diff.c                 |   2 +-
 tools/perf/builtin-inject.c               |   2 +-
 tools/perf/builtin-kmem.c                 |   7 +-
 tools/perf/builtin-kvm.c                  |  16 +-
 tools/perf/builtin-lock.c                 |   2 +-
 tools/perf/builtin-mem.c                  |   2 +-
 tools/perf/builtin-record.c               |   1 +
 tools/perf/builtin-report.c               |  15 +-
 tools/perf/builtin-sched.c                |   2 +-
 tools/perf/builtin-script.c               |   2 +-
 tools/perf/builtin-timechart.c            |   2 +-
 tools/perf/builtin-top.c                  |   3 +
 tools/perf/builtin-trace.c                |   2 +-
 tools/perf/config/Makefile                |  40 +++--
 tools/perf/config/feature-checks/Makefile |  18 +-
 tools/perf/ui/browsers/hists.c            |  31 ++--
 tools/perf/ui/gtk/hists.c                 |  18 +-
 tools/perf/ui/hist.c                      | 280 ++++++++++++++++++------------
 tools/perf/ui/stdio/hist.c                |   4 +-
 tools/perf/util/annotate.c                |   9 +-
 tools/perf/util/cache.h                   |   1 +
 tools/perf/util/cloexec.c                 |   6 +-
 tools/perf/util/color.c                   |  16 ++
 tools/perf/util/color.h                   |   1 +
 tools/perf/util/config.c                  |  24 +++
 tools/perf/util/debug.c                   |  36 +++-
 tools/perf/util/debug.h                   |   8 +
 tools/perf/util/dso.c                     |  28 ++-
 tools/perf/util/evlist.c                  |  20 ++-
 tools/perf/util/evsel.c                   |  15 +-
 tools/perf/util/hist.h                    |  17 +-
 tools/perf/util/ordered-events.c          | 245 ++++++++++++++++++++++++++
 tools/perf/util/ordered-events.h          |  51 ++++++
 tools/perf/util/session.c                 | 219 +++++------------------
 tools/perf/util/session.h                 |  25 +--
 tools/perf/util/sort.c                    |  58 ++++---
 tools/perf/util/symbol.c                  |   3 +-
 tools/perf/util/symbol.h                  |   9 +
 tools/perf/util/tool.h                    |   2 +-
 tools/perf/util/util.c                    |  36 ++++
 tools/perf/util/util.h                    |  17 ++
 46 files changed, 869 insertions(+), 440 deletions(-)
 create mode 100644 tools/perf/util/ordered-events.c
 create mode 100644 tools/perf/util/ordered-events.h

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

end of thread, other threads:[~2014-08-04 16:18 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-17 16:12 [GIT PULL 00/33] perf/core improvements and fixes Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 01/33] perf kvm: Use defines of kvm events Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 02/33] perf kvm: Move arch specific code into arch/ Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 03/33] perf kvm: Add skip_event() for --duration option Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 04/33] perf kvm: Add stat support on s390 Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 05/33] perf script: Add missing calls to Py_DECREF for return values Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 06/33] perf script: Add callchain to generic and tracepoint events Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 07/33] perf script: Provide additional sample information on generic events Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 08/33] perf machine: Fix the value used for unknown pids Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 09/33] perf script: Display PERF_RECORD_MISC_COMM_EXEC flag Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 10/33] perf record: Select comm_exec flag if supported Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 11/33] perf tools: Fix missing kernel map load Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 12/33] perf symbols: Fix missing GNU IFUNC symbols Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 13/33] perf inject: Fix build id injection Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 14/33] perf callchain: Fix appending a callchain from a previous sample Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 15/33] perf buildid-cache: Apply force option to copying kcore Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 16/33] perf symbols: Record whether a dso is 64-bit Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 17/33] perf symbols: Do not attempt to read data from kallsyms Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 18/33] perf symbols: Add ability to iterate over a dso's symbols Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 19/33] perf session: Flag if the event stream is entirely in memory Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 20/33] perf evlist: Pass mmap parameters in a struct Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 21/33] perf tools: Add feature test for __sync_val_compare_and_swap Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 22/33] perf tools: Add option macro OPT_CALLBACK_OPTARG Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 23/33] perf evsel: Add 'no_aux_samples' option Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 24/33] perf evsel: Add 'immediate' option Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 25/33] perf machine: Fix map groups of threads with unknown pids Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 26/33] perf thread: Allow deletion of a thread with no map groups Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 27/33] perf machine: Fix leak of 'struct thread' on error path Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 28/33] perf tools: Remove verbose from functions prototypes Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 29/33] perf tools: Move pr_* debug macros into debug object Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 30/33] perf tools: Factor eprintf to allow different debug variables Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 31/33] perf tools: Add --debug optionto set debug variable Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 32/33] perf tools: Remove needless getopt.h includes Arnaldo Carvalho de Melo
2014-07-17 16:12 ` [PATCH 33/33] perf tools: Allow TSC conversion on any arch Arnaldo Carvalho de Melo
2014-07-18  4:17 ` [GIT PULL 00/33] perf/core improvements and fixes Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2014-08-04 16:17 Arnaldo Carvalho de Melo

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).