mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
rt-app: removed ftrace check
trace-cmd seems to work fine with "ftrace: true" in the config, so removing the check that prevented both from being enabled.
This commit is contained in:
parent
042da24e7d
commit
0b29bda206
@ -247,12 +247,6 @@ class RtApp(Workload):
|
|||||||
|
|
||||||
def _update_rt_app_config(self, config_data):
|
def _update_rt_app_config(self, config_data):
|
||||||
config_data['global'] = config_data.get('global', {})
|
config_data['global'] = config_data.get('global', {})
|
||||||
if 'ftrace' in config_data['global'] and instrument_is_enabled('trace-cmd'):
|
|
||||||
raise WorkloadError('trace-cmd instrument cannot be enabled '
|
|
||||||
'at the same time as ftrace rt-app setting. '
|
|
||||||
'Please disable trace-cmd instrument in your '
|
|
||||||
'WA config file or set ftrace to false in the '
|
|
||||||
'JSON file.')
|
|
||||||
config_data['global']['logdir'] = self.device_working_directory
|
config_data['global']['logdir'] = self.device_working_directory
|
||||||
config_data['global']['log_basename'] = self.log_basename
|
config_data['global']['log_basename'] = self.log_basename
|
||||||
if self.duration is not None:
|
if self.duration is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user