android_kernel_sony_sdm845/tools/perf/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Leo Yan 62d861062b perf test: Report failure for mmap events
[ Upstream commit 6add129c5d9210ada25217abc130df0b7096ee02 ]

When fail to mmap events in task exit case, it misses to set 'err' to
-1; thus the testing will not report failure for it.

This patch sets 'err' to -1 when fails to mmap events, thus Perf tool
can report correct result.

Fixes: d723a55096 ("perf test: Add test case for checking number of EXIT events")
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/20191011091942.29841-1-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 13:39:23 +01:00
..
attr
.gitignore
attr.c perf test attr: Fix ignored test case result 2017-12-09 22:01:49 +01:00
attr.py
backward-ring-buffer.c
bitmap.c
bp_signal.c
bp_signal_overflow.c
bpf-script-example.c
bpf-script-test-kbuild.c
bpf-script-test-prologue.c
bpf-script-test-relocation.c
bpf.c
Build perf tools: Fix build with ARCH=x86_64 2018-01-23 19:57:07 +01:00
builtin-test.c perf tests: Fix indexing when invoking subtests 2018-11-10 07:42:56 -08:00
code-reading.c Revert "perf tests: Decompress kernel module before objdump" 2018-04-20 08:21:06 +02:00
cpumap.c
dso-data.c
dwarf-unwind.c
event-times.c
event_update.c
evsel-roundtrip-name.c
evsel-tp-sched.c perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test() 2019-04-20 09:07:49 +02:00
fdarray.c
hists_common.c
hists_common.h
hists_cumulate.c
hists_filter.c
hists_link.c
hists_output.c
is_printable_array.c
keep-tracking.c
kmod-path.c perf tests kmod-path: Don't fail if compressed modules aren't supported 2018-03-24 11:00:22 +01:00
llvm.c
llvm.h
make
mmap-basic.c
mmap-thread-lookup.c perf test mmap-thread-lookup: Initialize variable to suppress memory sanitizer warning 2019-08-04 09:33:40 +02:00
openat-syscall-all-cpus.c perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test 2019-04-20 09:07:49 +02:00
openat-syscall-tp-fields.c
openat-syscall.c
parse-events.c Revert "perf test 6: Fix missing kvm module load for s390" 2019-09-06 10:19:40 +02:00
parse-no-sample-id-all.c
perf-record.c
perf-targz-src-pkg
pmu.c
python-use.c
sample-parsing.c
sdt.c
stat.c
sw-clock.c
switch-tracking.c
task-exit.c perf test: Report failure for mmap events 2020-01-04 13:39:23 +01:00
tests.h
thread-map.c
thread-mg-share.c
topology.c perf test session topology: Fix test on s390 2018-08-24 13:12:32 +02:00
vmlinux-kallsyms.c perf tests: Use arch__compare_symbol_names to compare symbols 2018-05-30 07:50:50 +02:00