selftests/resctrl: Add callback to start a benchmark
authorSai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Thu, 16 Jan 2020 21:32:37 +0000 (13:32 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 11 Feb 2020 01:38:28 +0000 (18:38 -0700)
commit7f4d257e3a2a4864268f6f0da7c85ca4f083e643
tree03fc067e925d5e7024a8e761298f14d1dcfde917
parent1d3f08687d76c0a80be35bbab6d64b1a8f2730e8
selftests/resctrl: Add callback to start a benchmark

The callback starts a child process and puts the child pid in created
resctrl group with specified memory bandwidth in schemata. The child
starts running benchmark.

Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Co-developed-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Babu Moger <babu.moger@amd.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/resctrl/resctrl.h
tools/testing/selftests/resctrl/resctrl_val.c