Merge tag 'perf-core-for-mingo' of...
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo: User visible changes: - 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 changes: - Open event on evsel cpus and threads. (Kan Liang) - Add 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> Signed-off-by:
Ingo Molnar <mingo@kernel.org>
Showing
- tools/lib/bpf/libbpf.c 22 additions, 3 deletionstools/lib/bpf/libbpf.c
- tools/lib/bpf/libbpf.h 3 additions, 1 deletiontools/lib/bpf/libbpf.h
- tools/perf/Documentation/perf-record.txt 5 additions, 1 deletiontools/perf/Documentation/perf-record.txt
- tools/perf/Documentation/perf-script.txt 1 addition, 1 deletiontools/perf/Documentation/perf-script.txt
- tools/perf/arch/x86/util/Build 1 addition, 0 deletionstools/perf/arch/x86/util/Build
- tools/perf/arch/x86/util/perf_regs.c 30 additions, 0 deletionstools/perf/arch/x86/util/perf_regs.c
- tools/perf/builtin-record.c 6 additions, 3 deletionstools/perf/builtin-record.c
- tools/perf/builtin-script.c 30 additions, 1 deletiontools/perf/builtin-script.c
- tools/perf/perf.h 1 addition, 1 deletiontools/perf/perf.h
- tools/perf/tests/llvm.c 1 addition, 1 deletiontools/perf/tests/llvm.c
- tools/perf/util/Build 2 additions, 0 deletionstools/perf/util/Build
- tools/perf/util/evlist.c 4 additions, 0 deletionstools/perf/util/evlist.c
- tools/perf/util/evsel.c 1 addition, 1 deletiontools/perf/util/evsel.c
- tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c 3 additions, 0 deletionstools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c
- tools/perf/util/parse-regs-options.c 71 additions, 0 deletionstools/perf/util/parse-regs-options.c
- tools/perf/util/parse-regs-options.h 5 additions, 0 deletionstools/perf/util/parse-regs-options.h
- tools/perf/util/perf_regs.h 7 additions, 0 deletionstools/perf/util/perf_regs.h
Please register or sign in to comment