linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/26] perf/core improvements and fixes
@ 2016-01-26 19:18 Arnaldo Carvalho de Melo
  2016-01-26 19:18 ` [PATCH 01/26] perf pmu: Fix misleadingly indented assignment (whitespace) Arnaldo Carvalho de Melo
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-01-26 19:18 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, Adrian Hunter,
	Alexei Starovoitov, Andi Kleen, Ben Hutchings, Borislav Petkov,
	Brendan Gregg, Daniel Borkmann, David Ahern, David S. Miller,
	Frederic Weisbecker, He Kuang, Jiri Olsa, Kan Liang, Li Zefan,
	Markus Trippelsdorf, Masami Hiramatsu, Mathieu Poirier,
	Matt Fleming, Namhyung Kim, Pekka Enberg, Peter Zijlstra,
	pi3orama, Stephane Eranian, Taeung Song, Wang Nan, Will Deacon,
	Arnaldo Carvalho de Melo

Hi Ingo,

	Please consider pulling, this is on top of the perf-urgent-for-mingo
branch I sent you today.

- Arnaldo

The following changes since commit 3f416f22d1e21709a631189ba169f76fd267b374:

  perf stat: Do not clean event's private stats (2016-01-26 11:15:11 -0300)

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 5ac76283b32b116c58e362e99542182ddcfc8262:

  perf cpumap: Auto initialize cpu__max_{node,cpu} (2016-01-26 16:08:36 -0300)

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

User visible:

- Rename the "colors.code" ~/.perfconfig variable to "colors.jump_arrows",
  as it controls just the that UI element in the annotate browser (Taeung Song)

- Avoid trying to read ELF symtabs from device files, noticed while doing
  memory profiling work (Jiri Olsa)

- Improve context detection when offering options in the hists browser,
  i.e.  some options don't make sense when the browser is not working with
  a perf.data file ('perf top' mode), only in 'perf report' mode, like
  scripting (Namhyung Kim)

Infrastructure:

- Elliminate duplication in the hists browser filter functions, getting the
  common part into a function that receives callbacks for filtering by
  DSO, thread, etc (Namhyung Kim)

- Fix misleadingly indented assignment, found using
  gcc6 -Wmisleading-indentation (Markus Trippelsdorf)

- Handle LLVM relocation oddities in libbpf, introducing a 'perf test' that
  detects such problems and then fixing the problem, so that the test now
  passes (Wang Nan)

- More improvements to the build infrastructure to allow reusing the
  feature detection facilities (Wang Nan)

- Auto initialize the globals needed by cpu__max_{cpu,node}() routines
  (Arnaldo Carvalho de Melo)

Documentation:

- Document the perf sysctls in Documentation/sysctl/kernel.txt (Ben Hutchings)

- Document a bunch more ~/.perfconfig knobs (Taeung Song)

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

----------------------------------------------------------------
Arnaldo Carvalho de Melo (3):
      perf machine: Introduce machine__find_kernel_symbol_by_name()
      perf test: Fixup aliases checking in the 'vmlinux matches kallsyms' test
      perf cpumap: Auto initialize cpu__max_{node,cpu}

Ben Hutchings (1):
      perf tools: Document the perf sysctls

Jiri Olsa (2):
      perf symbols: Do not read symbols/data from device files
      perf stat: Making several helper functions static

Markus Trippelsdorf (1):
      perf pmu: Fix misleadingly indented assignment (whitespace)

Namhyung Kim (9):
      perf hists: Remove parent filter check in DSO filter function
      perf hists: Cleanup filtering functions
      perf sort: Provide a way to find out if per-thread bucketing is in place
      perf hists browser: Only 'Zoom into thread' only when sort order has 'pid'
      perf hists browser: Only offer symbol scripting when a symbol is under the cursor
      perf hists browser: Offer 'Zoom into DSO'/'Map details' only when sort order has 'dso'
      perf hists browser: Be a bit more strict about presenting CPU socket zoom
      perf hists browser: Offer non-symbol specific menu options for --sort without 'sym'
      perf hists browser: Skip scripting when perf.data file not available

Taeung Song (6):
      perf annotate: Rename 'colors.code' to 'colors.jump_arrows'
      perf config: Document variables for 'colors' section in man page
      perf config: Document variables for 'tui' and 'gtk' sections in man page
      perf config: Document 'buildid.dir' variable in man page
      perf config: Document variables for 'annotate' section in man page
      perf config: Document 'hist.percentage' variable in man page

Wang Nan (4):
      perf test: Add libbpf relocation checker
      perf bpf: Check relocation target section
      tools build: Allow subprojects select all feature checkers
      perf build: Select all feature checkers for feature-dump

 Documentation/sysctl/kernel.txt               |  13 ++
 tools/build/Makefile.feature                  |  21 ++-
 tools/lib/bpf/libbpf.c                        |  34 +++--
 tools/perf/Documentation/perf-config.txt      | 200 +++++++++++++++++++++++++-
 tools/perf/Documentation/perfconfig.example   |   2 +-
 tools/perf/Makefile.perf                      |  11 +-
 tools/perf/tests/.gitignore                   |   1 +
 tools/perf/tests/Build                        |   9 +-
 tools/perf/tests/bpf-script-test-relocation.c |  50 +++++++
 tools/perf/tests/bpf.c                        |  26 +++-
 tools/perf/tests/llvm.c                       |  17 ++-
 tools/perf/tests/llvm.h                       |   5 +-
 tools/perf/tests/vmlinux-kallsyms.c           |  24 +---
 tools/perf/ui/browser.c                       |   4 +-
 tools/perf/ui/browser.h                       |   2 +-
 tools/perf/ui/browsers/annotate.c             |   2 +-
 tools/perf/ui/browsers/hists.c                |  38 ++---
 tools/perf/util/cpumap.c                      |  30 ++++
 tools/perf/util/cpumap.h                      |  32 +----
 tools/perf/util/dso.c                         |   5 +
 tools/perf/util/evsel.c                       |  15 +-
 tools/perf/util/hist.c                        |  92 ++++--------
 tools/perf/util/machine.h                     |  10 ++
 tools/perf/util/pmu.c                         |   2 +-
 tools/perf/util/sort.c                        |   3 +
 tools/perf/util/sort.h                        |   2 +
 tools/perf/util/stat.c                        |  14 +-
 tools/perf/util/stat.h                        |  10 --
 tools/perf/util/symbol.c                      |   6 +-
 tools/perf/util/util.c                        |  10 ++
 tools/perf/util/util.h                        |   1 +
 31 files changed, 507 insertions(+), 184 deletions(-)
 create mode 100644 tools/perf/tests/bpf-script-test-relocation.c

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

end of thread, other threads:[~2016-01-26 19:30 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-26 19:18 [PATCH 00/26] perf/core improvements and fixes Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 01/26] perf pmu: Fix misleadingly indented assignment (whitespace) Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 02/26] perf symbols: Do not read symbols/data from device files Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 03/26] perf stat: Making several helper functions static Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 04/26] perf hists: Remove parent filter check in DSO filter function Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 05/26] perf hists: Cleanup filtering functions Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 06/26] perf tools: Document the perf sysctls Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 07/26] perf annotate: Rename 'colors.code' to 'colors.jump_arrows' Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 08/26] perf config: Document variables for 'colors' section in man page Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 09/26] perf config: Document variables for 'tui' and 'gtk' sections " Arnaldo Carvalho de Melo
2016-01-26 19:18 ` [PATCH 10/26] perf config: Document 'buildid.dir' variable " Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 11/26] perf config: Document variables for 'annotate' section " Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 12/26] perf config: Document 'hist.percentage' variable " Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 13/26] perf sort: Provide a way to find out if per-thread bucketing is in place Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 14/26] perf hists browser: Only 'Zoom into thread' only when sort order has 'pid' Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 15/26] perf hists browser: Only offer symbol scripting when a symbol is under the cursor Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 16/26] perf hists browser: Offer 'Zoom into DSO'/'Map details' only when sort order has 'dso' Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 17/26] perf hists browser: Be a bit more strict about presenting CPU socket zoom Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 18/26] perf hists browser: Offer non-symbol specific menu options for --sort without 'sym' Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 19/26] perf machine: Introduce machine__find_kernel_symbol_by_name() Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 20/26] perf test: Fixup aliases checking in the 'vmlinux matches kallsyms' test Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 21/26] perf test: Add libbpf relocation checker Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 22/26] perf bpf: Check relocation target section Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 23/26] tools build: Allow subprojects select all feature checkers Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 24/26] perf build: Select all feature checkers for feature-dump Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 25/26] perf hists browser: Skip scripting when perf.data file not available Arnaldo Carvalho de Melo
2016-01-26 19:19 ` [PATCH 26/26] perf cpumap: Auto initialize cpu__max_{node,cpu} 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).