diff options
author | Sascha Bischoff <sascha.bischoff@arm.com> | 2018-03-01 15:35:35 +0000 |
---|---|---|
committer | setrofim <setrofim@gmail.com> | 2018-03-01 15:42:20 +0000 |
commit | 39925d3f79641450eebde2b52dba91147dc85ff2 (patch) | |
tree | 0c012bc8088133d5fa7b3d10ea958c37ac5fd15a | |
parent | d44c2ff919e609e0cf85022fdd02cd7f7546fc86 (diff) |
rt-app: redirect stdout to stderr
By default rt-app writes to stderr, not to stdout. Therefore, if we
only sample the stdout, we get no output from the workload itself.
With this change, we redirect stderr to stdout to allow us to get the
workload output.
-rw-r--r-- | wa/workloads/rt_app/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wa/workloads/rt_app/__init__.py b/wa/workloads/rt_app/__init__.py index 64e2f908..89a35d37 100644 --- a/wa/workloads/rt_app/__init__.py +++ b/wa/workloads/rt_app/__init__.py @@ -173,6 +173,7 @@ class RtApp(Workload): def run(self, context): self.output = self.target.invoke(self.command, on_cpus=self.taskset_mask, + redirect_stderr=True, timeout=self.timeout, as_root=True) |