perf/core improvements and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest26 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | perf pmu: Fix misleadingly indented assignment (whitespace)tools/ | +1 | 0 replies | |
| 2/26 | perf symbols: Do not read symbols/data from device filestools/ tools/ tools/ +1 more | +21 | 0 replies | |
| 3/26 | perf stat: Making several helper functions statictools/ tools/ | +7 | 0 replies | |
| 4/26 | perf hists: Remove parent filter check in DSO filter functiontools/ | +0 | 0 replies | |
| 5/26 | perf hists: Cleanup filtering functionstools/ | +29 | 0 replies | |
| 6/26 | perf tools: Document the perf sysctlsDocumentation/ tools/ | +22 | 0 replies | |
| 7/26 | perf annotate: Rename 'colors.code' to 'colors.jump_arrows'tools/ tools/ tools/ +2 more | +6 | 0 replies | |
| 8/26 | perf config: Document variables for 'colors' section in man pagetools/ | +46 | 0 replies | |
| 9/26 | perf config: Document variables for 'tui' and 'gtk' sections in man pagetools/ | +10 | 0 replies | |
| 10/26 | perf config: Document 'buildid.dir' variable in man pagetools/ | +15 | 0 replies | |
| 11/26 | perf config: Document variables for 'annotate' section in man pagetools/ | +110 | 0 replies | |
| 12/26 | perf config: Document 'hist.percentage' variable in man pagetools/ | +17 | 0 replies | |
| 13/26 | perf sort: Provide a way to find out if per-thread bucketing is in placetools/ tools/ | +4 | 0 replies | |
| 14/26 | perf hists browser: Only 'Zoom into thread' only when sort order has 'pid'tools/ | +7 | 0 replies | |
| 15/26 | perf hists browser: Only offer symbol scripting when a symbol is under the cursortools/ | +6 | 0 replies | |
| 16/26 | perf hists browser: Offer 'Zoom into DSO'/'Map details' only when sort order has 'dso'tools/ tools/ | +3 | 0 replies | |
| 17/26 | perf hists browser: Be a bit more strict about presenting CPU socket zoomtools/ | +1 | 0 replies | |
| 18/26 | perf hists browser: Offer non-symbol specific menu options for --sort without 'sym'tools/ | +1 | 0 replies | |
| 19/26 | perf machine: Introduce machine__find_kernel_symbol_by_name()tools/ | +10 | 0 replies | |
| 20/26 | perf test: Fixup aliases checking in the 'vmlinux matches kallsyms' testtools/ | +5 | 0 replies | |
| 21/26 | perf test: Add libbpf relocation checkertools/ tools/ tools/ +4 more | +98 | 0 replies | |
| 22/26 | perf bpf: Check relocation target sectiontools/ | +22 | 0 replies | |
| 23/26 | tools build: Allow subprojects select all feature checkerstools/ | +20 | 0 replies | |
| 24/26 | perf build: Select all feature checkers for feature-dumptools/ | +9 | 0 replies | |
| 25/26 | perf hists browser: Skip scripting when perf.data file not availabletools/ | +4 | 0 replies | |
| 26/26 | perf cpumap: Auto initialize cpu__max_{node,cpu}tools/ tools/ | +33 | 0 replies |
Reviews trailers per patch
4 of 26 patches have a Reviewed-by or Acked-by.
| Patch | Arnaldo Carvalho de Melo | Alexei Starovoitov | Ingo Molnar | Jiri Olsa | Pekka Enberg |
|---|---|---|---|---|---|
| 1/26 | A-b | ||||
| 2/26 | |||||
| 3/26 | |||||
| 4/26 | A-b | A-b | |||
| 5/26 | A-b | A-b | |||
| 6/26 | |||||
| 7/26 | |||||
| 8/26 | |||||
| 9/26 | |||||
| 10/26 | |||||
| 11/26 | |||||
| 12/26 | |||||
| 13/26 | T-b | ||||
| 14/26 | T-b | ||||
| 15/26 | T-b | ||||
| 16/26 | T-b | ||||
| 17/26 | T-b | ||||
| 18/26 | T-b | ||||
| 19/26 | |||||
| 20/26 | |||||
| 21/26 | T-b | ||||
| 22/26 | T-b | A-b | |||
| 23/26 | |||||
| 24/26 | |||||
| 25/26 | T-b | ||||
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 00/26] perf/core improvements and fixes
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)
----------------------------------------------------------------
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