• Arnaldo Carvalho de Melo's avatar
    perf test: Add infrastructure to run shell based tests · 1209b273
    Arnaldo Carvalho de Melo authored
    To allow testing by directly using perf tools in scripts, checking that
    the effects on the system are the ones expected and that the output
    produced is as well the desired one.
    
    For instance, adding a probe at a well known location with 'perf probe',
    then checking that the results from using that probe to record are the
    desired ones, etc.
    
    The next csets will introduce tests using this new testing
    infrastructure.
    
    The scripts should return 0 for Ok, 1 for FAIL and 2 for SKIP.
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Michael Petlan <mpetlan@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Thomas Richter <tmricht@linux.vnet.ibm.com>
    Cc: Wang Nan <wangnan0@huawei.com>
    Link: http://lkml.kernel.org/n/tip-swbpn7amrjqffh83lsr39s9p@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    1209b273
tests.h 4.45 KB