mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
perf tests attr: Add proper return values
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>
This commit is contained in:
parent
44fed277f8
commit
a72fe0afa1
24 changed files with 24 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -C 0 kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
cpu=0
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[config]
|
||||
command = record
|
||||
args = kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -b kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -j any kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -j any_call kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -j any_ret kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -j hv kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -j ind_call kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -j k kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -j u kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -c 123 kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=123
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -d kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -F 100 kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=100
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -g kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_type=295
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = --call-graph dwarf -- kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_type=45359
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = --call-graph fp kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_type=295
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = --group -e cycles,instructions kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event-1:base-record]
|
||||
fd=1
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -e '{cycles,cache-misses}:S' kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event-1:base-record]
|
||||
fd=1
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -e '{cycles,instructions}' kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event-1:base-record]
|
||||
fd=1
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = --no-buffering kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -i kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_type=263
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -n kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=0
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -c 100 -P kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=100
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[config]
|
||||
command = record
|
||||
args = -R kill >/dev/null 2>&1
|
||||
ret = 1
|
||||
|
||||
[event:base-record]
|
||||
sample_period=4000
|
||||
|
|
Loading…
Reference in a new issue