perf tools: Preparation for call graph from Intel BTS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest41 patches 47 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/41 | perf tools: Fix the value used for unknown pidstools/ tools/ tools/ +1 more | +13 | 0 replies | |
| 2/41 | perf tools: Fix map groups of threads with unknown pidstools/ tools/ tools/ +2 more | +67 | 4 replies | |
| 3/41 | perf script: Display PERF_RECORD_MISC_COMM_EXEC flagtools/ tools/ | +10 | 0 replies | |
| 4/41 | perf record: Select comm_exec flag if supportedtools/ | +17 | 0 replies | |
| 5/41 | perf tools: Identify which comms are from exectools/ tools/ tools/ +2 more | +40 | 6 replies | |
| 6/41 | perf tools: Add machine__thread_exec_comm()tools/ tools/ tools/ | +53 | 0 replies | |
| 7/41 | perf tools: Fix missing kernel map loadtools/ | +1 | 0 replies | |
| 8/41 | perf tools: Fix missing label symbolstools/ | +1 | 2 replies | |
| 9/41 | perf tools: Fix missing GNU IFUNC symbolstools/ | +2 | 0 replies | |
| 10/41 | perf inject: Fix build id injectiontools/ | +3 | 0 replies | |
| 11/41 | perf tools: Fix appending a callchain from a previous sampletools/ | +1 | 0 replies | |
| 12/41 | perf tools: Fix leak of 'struct thread' on error pathtools/ tools/ | +7 | 6 replies | |
| 13/41 | perf tools: Add machine__kernel_ip()tools/ tools/ tools/ | +43 | 7 replies | |
| 14/41 | perf buildid-cache: Apply force option to copying kcoretools/ | +5 | 0 replies | |
| 15/41 | perf script: Improve srcline display for BTStools/ | +15 | 3 replies | |
| 16/41 | perf script: Do not print dangling '=>' for BTStools/ | +3 | 0 replies | |
| 17/41 | perf tools: Record whether a dso is 64-bittools/ tools/ tools/ +3 more | +29 | 0 replies | |
| 18/41 | perf tools: Record whether a dso has datatools/ tools/ | +5 | 8 replies | |
| 19/41 | perf tools: Do not attempt to read data from kallsymstools/ | +2 | 0 replies | |
| 20/41 | perf tools: Let a user specify a PMU event without any config termstools/ tools/ | +16 | 11 replies | |
| 21/41 | perf tools: Let default config be defined for a PMUtools/ tools/ tools/ +1 more | +41 | 0 replies | |
| 22/41 | perf tools: Add perf_pmu__scan_file()tools/ tools/ | +40 | 0 replies | |
| 23/41 | perf tools: Add dsos__hit_all()tools/ tools/ | +43 | 0 replies | |
| 24/41 | perf tools: Add cpu to struct threadtools/ tools/ | +2 | 2 replies | |
| 25/41 | perf tools: Add ability to record the current tid for each cputools/ tools/ | +51 | 0 replies | |
| 26/41 | perf tools: Add ability to iterate over a dso's symbolstools/ tools/ | +19 | 0 replies | |
| 27/41 | perf session: Flag if the event stream is entirely in memorytools/ tools/ | +11 | 0 replies | |
| 28/41 | perf evlist: Pass mmap parameters in a structtools/ | +26 | 0 replies | |
| 29/41 | perf tools: Add feature test for __sync_val_compare_and_swaptools/ tools/ tools/ +1 more | +29 | 0 replies | |
| 30/41 | perf tools: Add option macro OPT_CALLBACK_OPTARGtools/ | +5 | 0 replies | |
| 31/41 | perf evlist: Add perf_evlist__set_tracking_event()tools/ tools/ | +23 | 0 replies | |
| 32/41 | perf evsel: Add 'no_aux_samples' optiontools/ tools/ | +4 | 0 replies | |
| 33/41 | perf evsel: Add 'immediate' optiontools/ tools/ | +6 | 0 replies | |
| 34/41 | perf evlist: Add 'system_wide' optiontools/ tools/ tools/ | +64 | 4 replies | |
| 35/41 | perf tools: Add id indextools/ tools/ tools/ +5 more | +177 | 0 replies | |
| 36/41 | perf pmu: Let pmu's with no events show up on perf listtools/ tools/ | +12 | 0 replies | |
| 37/41 | perf session: Add ability to skip 4GiB or moretools/ | +13 | 0 replies | |
| 38/41 | perf session: Add perf_session__deliver_synth_event()tools/ tools/ | +19 | 2 replies | |
| 39/41 | perf tools: Allow TSC conversion on any archtools/ tools/ tools/ +3 more | +40 | 3 replies | |
| 40/41 | perf tools: Move rdtsc() functiontools/ tools/ tools/ +1 more | +15 | 0 replies | |
| 41/41 | perf evlist: Add perf_evlist__enable_event_idx()tools/ tools/ | +49 | 0 replies |
Reviews trailers per patch
1 of 41 patches has a Reviewed-by or Acked-by.
| Patch | Jiri Olsa |
|---|---|
| 1/41 | |
| 2/41 | |
| 3/41 | |
| 4/41 | |
| 5/41 | |
| 6/41 | |
| 7/41 | |
| 8/41 | |
| 9/41 | |
| 10/41 | |
| 11/41 | |
| 12/41 | |
| 13/41 | |
| 14/41 | |
| 15/41 | |
| 16/41 | |
| 17/41 | |
| 18/41 | A-b |
| 19/41 | |
| 20/41 | |
| 21/41 | |
| 22/41 | |
| 23/41 | |
| 24/41 | |
| 25/41 | |
| 26/41 | |
| 27/41 | |
| 28/41 | |
| 29/41 | |
| 30/41 | |
| 31/41 | |
| 32/41 | |
| 33/41 | |
| 34/41 | |
| 35/41 | |
| 36/41 | |
| 37/41 | |
| 38/41 | |
| 39/41 | |
| 40/41 | |
| 41/41 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/41] perf tools: Preparation for call graph from Intel BTS
Hi
As we discussed here:
http://marc.info/?l=linux-kernel&m=140509286032125&w=4
here are a selection of patches based on tip/perf/core.
They can also be found here:
http://git.infradead.org/users/ahunter/linux-perf.git/shortlog/refs/heads/for-acme
Adrian Hunter (41):
perf tools: Fix the value used for unknown pids
perf tools: Fix map groups of threads with unknown pids perf script: Display PERF_RECORD_MISC_COMM_EXEC flag perf record: Select comm_exec flag if supported
perf tools: Identify which comms are from exec
perf tools: Add machine__thread_exec_comm()
perf tools: Fix missing kernel map load
perf tools: Fix missing label symbols
perf tools: Fix missing GNU IFUNC symbols
perf inject: Fix build id injection
perf tools: Fix appending a callchain from a previous sample perf tools: Fix leak of 'struct thread' on error path perf tools: Add machine__kernel_ip()
perf buildid-cache: Apply force option to copying kcore perf script: Improve srcline display for BTS
perf script: Do not print dangling '=>' for BTS
perf tools: Record whether a dso is 64-bit
perf tools: Record whether a dso has data
perf tools: Do not attempt to read data from kallsyms perf tools: Let a user specify a PMU event without any config terms perf tools: Let default config be defined for a PMU perf tools: Add perf_pmu__scan_file()
perf tools: Add dsos__hit_all()
perf tools: Add cpu to struct thread
perf tools: Add ability to record the current tid for each cpu perf tools: 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 evlist: Add perf_evlist__set_tracking_event()
perf evsel: Add 'no_aux_samples' option
perf evsel: Add 'immediate' option
perf evlist: Add 'system_wide' option
perf tools: Add id index
perf pmu: Let pmu's with no events show up on perf list perf session: Add ability to skip 4GiB or more
perf session: Add perf_session__deliver_synth_event() perf tools: Allow TSC conversion on any arch
perf tools: Move rdtsc() function
perf evlist: Add perf_evlist__enable_event_idx()
tools/perf/Makefile.perf | 2 + tools/perf/arch/x86/util/tsc.c | 31 ++-- tools/perf/arch/x86/util/tsc.h | 3 - tools/perf/builtin-buildid-cache.c | 8 +- tools/perf/builtin-inject.c | 4 + tools/perf/builtin-sched.c | 12 +- tools/perf/builtin-script.c | 26 ++- 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/tests/perf-time-to-tsc.c | 12 +- tools/perf/tests/pmu.c | 2 +- tools/perf/util/callchain.c | 2 +- tools/perf/util/comm.c | 7 +- tools/perf/util/comm.h | 6 +- tools/perf/util/dso.c | 6 +- tools/perf/util/dso.h | 2 + tools/perf/util/event.c | 17 +- tools/perf/util/event.h | 15 ++ tools/perf/util/evlist.c | 184 +++++++++++++++---- tools/perf/util/evlist.h | 5 + tools/perf/util/evsel.c | 45 ++++- tools/perf/util/evsel.h | 6 + tools/perf/util/header.c | 41 +++++ tools/perf/util/header.h | 2 + tools/perf/util/machine.c | 127 +++++++++++++- tools/perf/util/machine.h | 26 +++ tools/perf/util/map.c | 14 ++ tools/perf/util/map.h | 1 + tools/perf/util/parse-events.c | 13 +- tools/perf/util/parse-events.y | 10 ++ tools/perf/util/parse-options.h | 5 + tools/perf/util/pmu.c | 92 ++++++++-- tools/perf/util/pmu.h | 13 +- tools/perf/util/record.c | 18 +- tools/perf/util/session.c | 194 +++++++++++++++++++-- tools/perf/util/session.h | 18 ++ tools/perf/util/symbol-elf.c | 8 +- tools/perf/util/symbol-minimal.c | 22 +++ tools/perf/util/symbol.c | 20 ++- tools/perf/util/symbol.h | 4 + tools/perf/util/thread.c | 68 +++++++- tools/perf/util/thread.h | 12 +- tools/perf/util/tool.h | 3 +- tools/perf/util/tsc.c | 30 ++++ tools/perf/util/tsc.h | 12 ++ 47 files changed, 1020 insertions(+), 157 deletions(-) create mode 100644 tools/perf/config/feature-checks/test-sync-compare-and-swap.c create mode 100644 tools/perf/util/tsc.c create mode 100644 tools/perf/util/tsc.h
Regards
Adrian