mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00: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 <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Richter <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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
|