perf tools: More preparation for call graph from Intel BTS
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest52 patches 30 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/52 | perf tools: Fix jump label always changing during tracingtools/ | +7 | 7 replies | |
| 2/52 | perf tools: Identify which comms are from exectools/ tools/ tools/ +2 more | +40 | 0 replies | |
| 3/52 | perf tools: Add machine__thread_exec_comm()tools/ tools/ tools/ | +53 | 0 replies | |
| 4/52 | perf tools: Fix missing label symbolstools/ | +1 | 0 replies | |
| 5/52 | perf tools: Add machine__kernel_ip()tools/ tools/ tools/ | +43 | 0 replies | |
| 6/52 | perf script: Improve srcline display for BTStools/ | +15 | 0 replies | |
| 7/52 | perf script: Do not print dangling '=>' for BTStools/ | +3 | 0 replies | |
| 8/52 | perf tools: Fix incorrect fd error comparisontools/ | +1 | 0 replies | |
| 9/52 | perf tools: Record whether a dso has datatools/ tools/ | +22 | 0 replies | |
| 10/52 | perf tools: Add dso__data_status_seen()tools/ tools/ | +18 | 0 replies | |
| 11/52 | perf tools: Let a user specify a PMU event without any config termstools/ tools/ | +16 | 0 replies | |
| 12/52 | perf tools: Let default config be defined for a PMUtools/ tools/ tools/ +1 more | +41 | 0 replies | |
| 13/52 | perf tools: Add perf_pmu__scan_file()tools/ tools/ | +40 | 6 replies | |
| 14/52 | perf tools: Add dsos__hit_all()tools/ tools/ | +43 | 0 replies | |
| 15/52 | perf tools: Add cpu to struct threadtools/ tools/ | +2 | 0 replies | |
| 16/52 | perf tools: Add ability to record the current tid for each cputools/ tools/ | +51 | 1 reply | |
| 17/52 | perf evlist: Add perf_evlist__set_tracking_event()tools/ tools/ | +23 | 4 replies | |
| 18/52 | perf evlist: Add 'system_wide' optiontools/ tools/ tools/ | +64 | 0 replies | |
| 19/52 | perf tools: Add id indextools/ tools/ tools/ +5 more | +177 | 0 replies | |
| 20/52 | perf pmu: Let pmu's with no events show up on perf listtools/ tools/ | +12 | 0 replies | |
| 21/52 | perf session: Add ability to skip 4GiB or moretools/ | +13 | 3 replies | |
| 22/52 | perf session: Add perf_session__deliver_synth_event()tools/ tools/ | +19 | 0 replies | |
| 23/52 | perf tools: Move rdtsc() functiontools/ tools/ tools/ +1 more | +15 | 0 replies | |
| 24/52 | perf evlist: Add perf_evlist__enable_event_idx()tools/ tools/ | +49 | 0 replies | |
| 25/52 | perf session: Add perf_session__peek_event()tools/ tools/ | +60 | 0 replies | |
| 26/52 | perf tools: Add dso__data_size()tools/ tools/ | +24 | 0 replies | |
| 27/52 | perf tools: Add a thread stack for synthesizing call chainstools/ tools/ tools/ +3 more | +217 | 0 replies | |
| 28/52 | perf script: Allow callchains if any event samples themtools/ | +13 | 4 replies | |
| 29/52 | perf inject: Add --kallsyms parametertools/ tools/ | +5 | 0 replies | |
| 30/52 | perf tools: Expose 'addr' functions so they can be reusedtools/ tools/ tools/ | +53 | 0 replies | |
| 31/52 | perf tools: Add facility to export data in database-friendly waytools/ tools/ tools/ +6 more | +362 | 0 replies | |
| 32/52 | perf tools: Add helpers for calling Python objectstools/ | +47 | 0 replies | |
| 33/52 | perf tools: Extend Python script interface to export data in a database-friendly waytools/ | +279 | 0 replies | |
| 34/52 | perf tools: Add Python script to export to postgresqltools/ tools/ tools/ | +392 | 0 replies | |
| 35/52 | perf tools: Add flags and insn_len to struct sampletools/ | +2 | 0 replies | |
| 36/52 | perf tools: Add branch type to db exporttools/ tools/ | +54 | 0 replies | |
| 37/52 | perf tools: Add branch_type and in_tx to Python exporttools/ tools/ | +55 | 0 replies | |
| 38/52 | perf tools: Enhance the thread stack to output call/return datatools/ tools/ | +590 | 0 replies | |
| 39/52 | perf tools: Add call information to the database export APItools/ tools/ | +63 | 0 replies | |
| 40/52 | perf tools: Add call information to Python exporttools/ tools/ tools/ | +158 | 0 replies | |
| 41/52 | perf tools: Add 'flush' callback to scripting APItools/ tools/ tools/ +2 more | +32 | 0 replies | |
| 42/52 | perf tools: Defer export of comms that were not 'set'tools/ tools/ tools/ | +67 | 0 replies | |
| 43/52 | perf tools: Add perf-with-kcore scripttools/ tools/ tools/ | +264 | 0 replies | |
| 44/52 | perf tools: Pass machine to vdso__dso_findnew()tools/ tools/ tools/ +2 more | +14 | 0 replies | |
| 45/52 | perf tools: Group VDSO global variables into a structuretools/ | +32 | 0 replies | |
| 46/52 | perf tools: Fix the lifetime of the VDSO temporary filetools/ tools/ tools/ +2 more | +35 | 1 reply | |
| 47/52 | perf tools: Add vdso__new()tools/ | +15 | 0 replies | |
| 48/52 | perf tools: Separate the VDSO map name from the VDSO dso nametools/ tools/ tools/ +1 more | +20 | 0 replies | |
| 49/52 | perf tools: Build programs to copy 32-bit compatibility VDSOstools/ tools/ tools/ +1 more | +121 | 5 replies | |
| 50/52 | perf tools: Add dso__type()tools/ tools/ tools/ +2 more | +77 | 0 replies | |
| 51/52 | perf tools: Add thread parameter to vdso__dso_findnew()tools/ tools/ tools/ +2 more | +10 | 0 replies | |
| 52/52 | perf tools: Add support for 32-bit compatibility VDSOstools/ tools/ | +172 | 7 replies |
Reviews trailers per patch
2 of 52 patches have a Reviewed-by or Acked-by.
| Patch | Jiri Olsa |
|---|---|
| 1/52 | |
| 2/52 | |
| 3/52 | |
| 4/52 | |
| 5/52 | |
| 6/52 | |
| 7/52 | |
| 8/52 | |
| 9/52 | |
| 10/52 | |
| 11/52 | |
| 12/52 | |
| 13/52 | |
| 14/52 | |
| 15/52 | |
| 16/52 | |
| 17/52 | A-b |
| 18/52 | |
| 19/52 | |
| 20/52 | |
| 21/52 | |
| 22/52 | |
| 23/52 | |
| 24/52 | |
| 25/52 | |
| 26/52 | |
| 27/52 | |
| 28/52 | |
| 29/52 | |
| 30/52 | |
| 31/52 | |
| 32/52 | |
| 33/52 | |
| 34/52 | |
| 35/52 | |
| 36/52 | |
| 37/52 | |
| 38/52 | |
| 39/52 | |
| 40/52 | |
| 41/52 | |
| 42/52 | |
| 43/52 | |
| 44/52 | |
| 45/52 | |
| 46/52 | |
| 47/52 | |
| 48/52 | |
| 49/52 | |
| 50/52 | |
| 51/52 | |
| 52/52 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/52] perf tools: More preparation for call graph from Intel BTS
Hi
Here is the next 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 (52):
perf tools: Fix jump label always changing during tracing
perf tools: Identify which comms are from exec
perf tools: Add machine__thread_exec_comm()
perf tools: Fix missing label symbols
perf tools: Add machine__kernel_ip()
perf script: Improve srcline display for BTS
perf script: Do not print dangling '=>' for BTS
perf tools: Fix incorrect fd error comparison
perf tools: Record whether a dso has data
perf tools: Add dso__data_status_seen()
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 evlist: Add perf_evlist__set_tracking_event()
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: Move rdtsc() function
perf evlist: Add perf_evlist__enable_event_idx()
perf session: Add perf_session__peek_event()
perf tools: Add dso__data_size()
perf tools: Add a thread stack for synthesizing call chains
perf script: Allow callchains if any event samples them
perf inject: Add --kallsyms parameter
perf tools: Expose 'addr' functions so they can be reused
perf tools: Add facility to export data in database-friendly way
perf tools: Add helpers for calling Python objects
perf tools: Extend Python script interface to export data in a database-friendly way perf tools: Add Python script to export to postgresql
perf tools: Add flags and insn_len to struct sample
perf tools: Add branch type to db export
perf tools: Add branch_type and in_tx to Python export
perf tools: Enhance the thread stack to output call/return data
perf tools: Add call information to the database export API
perf tools: Add call information to Python export
perf tools: Add 'flush' callback to scripting API
perf tools: Defer export of comms that were not 'set'
perf tools: Add perf-with-kcore script
perf tools: Pass machine to vdso__dso_findnew()
perf tools: Group VDSO global variables into a structure
perf tools: Fix the lifetime of the VDSO temporary file
perf tools: Add vdso__new()
perf tools: Separate the VDSO map name from the VDSO dso name
perf tools: Build programs to copy 32-bit compatibility VDSOs
perf tools: Add dso__type()
perf tools: Add thread parameter to vdso__dso_findnew()
perf tools: Add support for 32-bit compatibility VDSOs
tools/perf/.gitignore | 1 + tools/perf/Documentation/perf-inject.txt | 3 + tools/perf/Makefile.perf | 46 +- tools/perf/arch/x86/util/tsc.c | 9 + tools/perf/builtin-inject.c | 3 + tools/perf/builtin-script.c | 89 ++- tools/perf/config/Makefile | 21 + tools/perf/config/Makefile.arch | 8 + tools/perf/perf-read-vdso.c | 59 ++ tools/perf/perf-with-kcore.sh | 259 ++++++++ .../scripts/python/bin/export-to-postgresql-record | 8 + .../scripts/python/bin/export-to-postgresql-report | 29 + tools/perf/scripts/python/export-to-postgresql.py | 444 +++++++++++++ tools/perf/tests/perf-time-to-tsc.c | 9 - tools/perf/tests/pmu.c | 2 +- tools/perf/util/cloexec.c | 9 +- tools/perf/util/comm.c | 7 +- tools/perf/util/comm.h | 7 +- tools/perf/util/db-export.c | 426 +++++++++++++ tools/perf/util/db-export.h | 107 ++++ tools/perf/util/dso.c | 70 ++- tools/perf/util/dso.h | 26 + tools/perf/util/event.c | 49 +- tools/perf/util/event.h | 53 ++ tools/perf/util/evlist.c | 138 ++++- tools/perf/util/evlist.h | 5 + tools/perf/util/evsel.c | 31 +- tools/perf/util/evsel.h | 5 + tools/perf/util/header.c | 51 +- tools/perf/util/header.h | 2 + tools/perf/util/machine.c | 109 +++- tools/perf/util/machine.h | 30 + tools/perf/util/map.c | 9 +- tools/perf/util/map.h | 5 +- tools/perf/util/parse-events.c | 13 +- tools/perf/util/parse-events.y | 10 + tools/perf/util/pmu.c | 92 ++- tools/perf/util/pmu.h | 13 +- .../perf/util/scripting-engines/trace-event-perl.c | 6 + .../util/scripting-engines/trace-event-python.c | 511 +++++++++++++-- tools/perf/util/session.c | 237 ++++++- tools/perf/util/session.h | 20 + tools/perf/util/symbol-elf.c | 37 +- tools/perf/util/symbol-minimal.c | 21 + tools/perf/util/symbol.h | 3 + tools/perf/util/thread-stack.c | 690 +++++++++++++++++++++ tools/perf/util/thread-stack.h | 79 +++ tools/perf/util/thread.c | 28 +- tools/perf/util/thread.h | 15 +- tools/perf/util/tool.h | 3 +- tools/perf/util/trace-event-scripting.c | 7 + tools/perf/util/trace-event.h | 1 + tools/perf/util/tsc.c | 5 + tools/perf/util/tsc.h | 1 + tools/perf/util/vdso.c | 264 +++++++- tools/perf/util/vdso.h | 15 +- 56 files changed, 3961 insertions(+), 239 deletions(-) create mode 100644 tools/perf/perf-read-vdso.c create mode 100644 tools/perf/perf-with-kcore.sh create mode 100644 tools/perf/scripts/python/bin/export-to-postgresql-record create mode 100644 tools/perf/scripts/python/bin/export-to-postgresql-report create mode 100644 tools/perf/scripts/python/export-to-postgresql.py create mode 100644 tools/perf/util/db-export.c create mode 100644 tools/perf/util/db-export.h create mode 100644 tools/perf/util/thread-stack.c create mode 100644 tools/perf/util/thread-stack.h
Regards
Adrian