perf test: waiting.sh: Parameterize timeouts
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 14 Sep 2022 08:01:50 +0000 (11:01 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Oct 2022 11:55:23 +0000 (08:55 -0300)
commit84838712e92eab3dfa37b97100f32490507373b2
tree87cd30ab61602ee4a2080ca66aa8b93f3b271e5d
parent5ebcdf07f7e4cdfdcfb3589f6bd3f81c3c061164
perf test: waiting.sh: Parameterize timeouts

Let helper functions accept a parameter to specify time out values in
tenths of a second.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220914080150.5888-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/lib/waiting.sh