Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'perf-urgent-for-mingo-4.12-20170704' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent

Pull perf/urgent fixes from Arnaldo Carvalho de Melo:

User visible changes:

- Fix max attr.precise_ip probing to make perf use the best cycles:p
available in the processor for non root users (Arnaldo Carvalho de Melo)

- Fix processing of MMAP events for 32-bit binaries on 64-bit systems
when unwind support is not fully integrated, fixing DSO and symbol
resolution (Jiri Olsa)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>

+2 -1
+1
tools/perf/util/evsel.c
··· 273 273 struct perf_event_attr attr = { 274 274 .type = PERF_TYPE_HARDWARE, 275 275 .config = PERF_COUNT_HW_CPU_CYCLES, 276 + .exclude_kernel = 1, 276 277 }; 277 278 struct perf_evsel *evsel; 278 279
+1 -1
tools/perf/util/unwind-libunwind.c
··· 50 50 51 51 if (!ops) { 52 52 pr_err("unwind: target platform=%s is not supported\n", arch); 53 - return -1; 53 + return 0; 54 54 } 55 55 out_register: 56 56 unwind__register_ops(thread, ops);