diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-04-24 11:10:55 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2014-04-24 14:49:22 +0530 |
commit | 97cd698f46250318184f064e0c9b16dbe593bfe2 (patch) | |
tree | a8da448fca45323af3f6f22f5f6e392e135ae60f /openembedded/nohz-isolation.yaml | |
parent | df6a582876d24938870198ee393a2c7eebd75d7b (diff) |
is-cpu-isolated.sh: Enable tracking isolation for system with more than 2 CPUs
Till now this scripts was only useful for a system with two CPUs as there were
some assumptions. But there were requirements from multiple people about
supporting more platforms which might have more than two cores.
Hence this patch, it enables support for multiple cores and any core can be
isolated (leaving core 0, which can't be isolated in kernel as that's the boot
CPU).
Order of parameters is also changed based on what user may want. And so
nohz-isolation.yaml is updated in the same patch so that things don't break
inbetween.
Change-Id: I0656131a6a6d043e662d16f05dd08f172f2a3d9d
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'openembedded/nohz-isolation.yaml')
-rw-r--r-- | openembedded/nohz-isolation.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openembedded/nohz-isolation.yaml b/openembedded/nohz-isolation.yaml index 7778b78..b2db6df 100644 --- a/openembedded/nohz-isolation.yaml +++ b/openembedded/nohz-isolation.yaml @@ -12,11 +12,12 @@ metadata: - arndale params: + ISOL_CPU: 1 ITERATIONS: 5 ISOL_MIN: 10 run: steps: - - "common/scripts/is-cpu-isolated.sh $ITERATIONS $ISOL_MIN" + - "common/scripts/is-cpu-isolated.sh $ISOL_CPU $ITERATIONS $ISOL_MIN" parse: pattern: "^test_case_id:(?P<test_case_id>.+)\\s+result:(?P<result>\\w+)\\s+measurement:(?P<measurement>.+)\\s+units:(?P<units>.+)" |