mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull more perf updates from Ingo Molnar: "The only kernel change is comment typo fixes. The rest is mostly tooling fixes, but also new vendor event additions and updates, a bigger libperf/libtraceevent library and a header files reorganization that came in a bit late" * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (108 commits) perf unwind: Fix libunwind build failure on i386 systems perf parser: Remove needless include directives perf build: Add detection of java-11-openjdk-devel package perf jvmti: Include JVMTI support for s390 perf vendor events: Remove P8 HW events which are not supported perf evlist: Fix access of freed id arrays perf stat: Fix free memory access / memory leaks in metrics perf tools: Replace needless mmap.h with what is needed, event.h perf evsel: Move config terms to a separate header perf evlist: Remove unused perf_evlist__fprintf() method perf evsel: Introduce evsel_fprintf.h perf evsel: Remove need for symbol_conf in evsel_fprintf.c perf copyfile: Move copyfile routines to separate files libperf: Add perf_evlist__poll() function libperf: Add perf_evlist__add_pollfd() function libperf: Add perf_evlist__alloc_pollfd() function libperf: Add libperf_init() call to the tests libperf: Merge libperf_set_print() into libperf_init() libperf: Add libperf dependency for tests targets libperf: Use sys/types.h to get ssize_t, not unistd.h ...
This commit is contained in:
commit
a7b7b772bb
268 changed files with 4801 additions and 3617 deletions
|
|
@ -2239,7 +2239,7 @@ static void __perf_event_disable(struct perf_event *event,
|
|||
*
|
||||
* If event->ctx is a cloned context, callers must make sure that
|
||||
* every task struct that event->ctx->task could possibly point to
|
||||
* remains valid. This condition is satisifed when called through
|
||||
* remains valid. This condition is satisfied when called through
|
||||
* perf_event_for_each_child or perf_event_for_each because they
|
||||
* hold the top-level event's child_mutex, so any descendant that
|
||||
* goes to exit will block in perf_event_exit_event().
|
||||
|
|
@ -6054,7 +6054,7 @@ static void perf_sample_regs_intr(struct perf_regs *regs_intr,
|
|||
* Get remaining task size from user stack pointer.
|
||||
*
|
||||
* It'd be better to take stack vma map and limit this more
|
||||
* precisly, but there's no way to get it safely under interrupt,
|
||||
* precisely, but there's no way to get it safely under interrupt,
|
||||
* so using TASK_SIZE as limit.
|
||||
*/
|
||||
static u64 perf_ustack_task_size(struct pt_regs *regs)
|
||||
|
|
@ -6616,7 +6616,7 @@ void perf_prepare_sample(struct perf_event_header *header,
|
|||
|
||||
if (sample_type & PERF_SAMPLE_STACK_USER) {
|
||||
/*
|
||||
* Either we need PERF_SAMPLE_STACK_USER bit to be allways
|
||||
* Either we need PERF_SAMPLE_STACK_USER bit to be always
|
||||
* processed as the last one or have additional check added
|
||||
* in case new sample type is added, because we could eat
|
||||
* up the rest of the sample size.
|
||||
|
|
|
|||
Loading…
Reference in a new issue