mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-22 01:43:37 -04:00
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>
14 lines
282 B
Text
14 lines
282 B
Text
[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
|