Messages in this thread | | | Date | Tue, 1 Sep 2015 10:26:23 +0200 | From | Ingo Molnar <> | Subject | Re: [GIT PULL 0/6] perf/core improvements and fixes |
| |
* Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit bac2e4a96d1c0bcce5e9654dcc902f75576b9b03: > > Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-08-31 10:25:46 +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 bcc84ec65ad1bd9f777a1fade6f8e5e0c5808fa5: > > perf record: Add ability to name registers to record (2015-08-31 18:01:33 -0300) > > ---------------------------------------------------------------- > perf/core improvements and fixes: > > User visible: > > - Add ability to specify to select which registers to record, > to reduce the size of perf.data files, and also allow printing > the registers in 'perf script': (Stephane Eranian) > > # perf record --intr-regs=AX,SP usleep 1 > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.016 MB perf.data (8 samples) ] > # perf script -F ip,sym,iregs | tail -5 > ffffffff8105f42a native_write_msr_safe AX:0xf SP:0xffff8802629c3c00 > ffffffff8105f42a native_write_msr_safe AX:0xf SP:0xffff8802629c3c00 > ffffffff81761ac0 _raw_spin_lock AX:0xffff8801bfcf8020 SP:0xffff8802629c3ce8 > ffffffff81202bf8 __vma_adjust_trans_huge AX:0x7ffc75200000 SP:0xffff8802629c3b30 > ffffffff8122b089 dput AX:0x101 SP:0xffff8802629c3c78 > # > > Infrastructure: > > - Open event on evsel cpus and threads (Kan Liang) > > - New bpf API to get name from a BPF object (Wang Nan) > > Build fixes: > > - Fix build on powerpc broken by pt/bts (Adrian Hunter) > > Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> > > ---------------------------------------------------------------- > Adrian Hunter (1): > perf tools: Fix build on powerpc broken by pt/bts > > Kan Liang (1): > perf evlist: Open event on evsel cpus and threads > > Stephane Eranian (3): > perf script: Enable printing of interrupted machine state > perf/x86: Add list of register names > perf record: Add ability to name registers to record > > Wang Nan (1): > bpf tools: New API to get name from a BPF object > > tools/lib/bpf/libbpf.c | 25 +++++++- > tools/lib/bpf/libbpf.h | 4 +- > tools/perf/Documentation/perf-record.txt | 6 +- > tools/perf/Documentation/perf-script.txt | 2 +- > tools/perf/arch/x86/util/Build | 1 + > tools/perf/arch/x86/util/perf_regs.c | 30 +++++++++ > tools/perf/builtin-record.c | 9 ++- > tools/perf/builtin-script.c | 31 +++++++++- > tools/perf/perf.h | 2 +- > tools/perf/tests/llvm.c | 2 +- > tools/perf/util/Build | 2 + > tools/perf/util/evlist.c | 4 ++ > tools/perf/util/evsel.c | 2 +- > .../util/intel-pt-decoder/intel-pt-insn-decoder.c | 3 + > tools/perf/util/parse-regs-options.c | 71 ++++++++++++++++++++++ > tools/perf/util/parse-regs-options.h | 5 ++ > tools/perf/util/perf_regs.h | 7 +++ > 17 files changed, 193 insertions(+), 13 deletions(-) > create mode 100644 tools/perf/arch/x86/util/perf_regs.c > create mode 100644 tools/perf/util/parse-regs-options.c > create mode 100644 tools/perf/util/parse-regs-options.h
Pulled into tip:perf/urgent, thanks a lot Arnaldo!
Ingo
| |