mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
a72fe0afa1
The record command now properly returns the status of the tracee if there's any. We need to properly set the expected return value of the tracee in the attr tests. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Thomas Richter <tmricht@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20170703145030.12903-10-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
15 lines
282 B
Plaintext
15 lines
282 B
Plaintext
[config]
|
|
command = record
|
|
args = -C 0 kill >/dev/null 2>&1
|
|
ret = 1
|
|
|
|
[event:base-record]
|
|
cpu=0
|
|
|
|
# no enable on exec for CPU attached
|
|
enable_on_exec=0
|
|
|
|
# PERF_SAMPLE_IP | PERF_SAMPLE_TID PERF_SAMPLE_TIME | # PERF_SAMPLE_PERIOD
|
|
# + PERF_SAMPLE_CPU added by -C 0
|
|
sample_type=391
|