History

Merge tag 'perf-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fixes from Thomas Gleixner: "A set of fixes and improvements for the perf subsystem: Kernel fixes: - Install cgroup events to the correct CPU context to prevent a potential list double add - Prevent an integer underflow in the perf mlock accounting - Add a missing prototype for arch_perf_update_userpage() Tooling: - Add a missing unlock in the error path of maps__insert() in perf maps. - Fix the build with the latest libbfd - Fix the perf parser so it does not delete parse event terms, which caused a regression for using perf with the ARM CoreSight as the sink configuration was missing due to the deletion. - Fix the double free in the perf CPU map merging test case - Add the missing ustring support for the perf probe command" * tag 'perf-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf maps: Add missing unlock to maps__insert() error case perf probe: Add ustring support for perf probe command perf: Make perf able to build with latest libbfd perf test: Fix test case Merge cpu map perf parse: Copy string to perf_evsel_config_term perf parse: Refactor 'struct perf_evsel_config_term' kernel/events: Add a missing prototype for arch_perf_update_userpage() perf/cgroups: Install cgroup events to correct cpuctx perf/core: Fix mlock accounting in perf_mmap()

Linus Torvalds committed 6 years ago

Commit ca21b9b2 parents 2fbc23c 45f035710 files · +88 −36Browse files

Showing the changes to include/linux (1 of 10 files). Show all

Unified · Split

include/linux/perf_event.h+4−0
@@ -1544,4 +1544,8 @@ int perf_event_exit_cpu(unsigned int cpu); · 1543 unmodified lines
15441544 #define perf_event_exit_cpu NULL
15451545 #endif
15461546
1547+extern void __weak arch_perf_update_userpage(struct perf_event *event,
1548+ struct perf_event_mmap_page *userpg,
1549+ u64 now);
1550+
15471551 #endif /* _LINUX_PERF_EVENT_H */