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

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fixes from Ingo Molnar:
"This tree contains misc fixlets: a perf script python binding fix, a
uprobes fix and a syscall tracing fix."

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf tools: Add missing files to build the python binding
uprobes: Fix mmap_region()'s mm->mm_rb corruption if uprobe_mmap() fails
tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1

+10 -5
+2 -2
kernel/fork.c
··· 455 455 if (retval) 456 456 goto out; 457 457 458 - if (file && uprobe_mmap(tmp)) 459 - goto out; 458 + if (file) 459 + uprobe_mmap(tmp); 460 460 } 461 461 /* a new mm has just been created */ 462 462 arch_dup_mmap(oldmm, mm);
+4
kernel/trace/trace_syscalls.c
··· 506 506 int size; 507 507 508 508 syscall_nr = syscall_get_nr(current, regs); 509 + if (syscall_nr < 0) 510 + return; 509 511 if (!test_bit(syscall_nr, enabled_perf_enter_syscalls)) 510 512 return; 511 513 ··· 582 580 int size; 583 581 584 582 syscall_nr = syscall_get_nr(current, regs); 583 + if (syscall_nr < 0) 584 + return; 585 585 if (!test_bit(syscall_nr, enabled_perf_exit_syscalls)) 586 586 return; 587 587
+2 -3
mm/mmap.c
··· 1356 1356 } else if ((flags & MAP_POPULATE) && !(flags & MAP_NONBLOCK)) 1357 1357 make_pages_present(addr, addr + len); 1358 1358 1359 - if (file && uprobe_mmap(vma)) 1360 - /* matching probes but cannot insert */ 1361 - goto unmap_and_free_vma; 1359 + if (file) 1360 + uprobe_mmap(vma); 1362 1361 1363 1362 return addr; 1364 1363
+2
tools/perf/util/python-ext-sources
··· 10 10 util/evlist.c 11 11 util/evsel.c 12 12 util/cpumap.c 13 + util/hweight.c 13 14 util/thread_map.c 14 15 util/util.c 15 16 util/xyarray.c 16 17 util/cgroup.c 17 18 util/debugfs.c 19 + util/rblist.c 18 20 util/strlist.c 19 21 ../../lib/rbtree.c