mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: Add printk tracer to trace-cmd
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
This commit is contained in:
parent
d715738578
commit
a918e48af1
@ -124,7 +124,7 @@ class DataCollector(object):
|
||||
def __enter__(self):
|
||||
if self._tracing:
|
||||
output = os.path.abspath(os.path.join(self._logdir, '%s.dat' % (self._testname, )))
|
||||
self._trace_cmd = subprocess.Popen(['sudo', 'trace-cmd', 'record', '-o', output, '-e', 'mac80211', '-e', 'cfg80211', 'sh', '-c', 'echo STARTED ; read l'],
|
||||
self._trace_cmd = subprocess.Popen(['sudo', 'trace-cmd', 'record', '-o', output, '-e', 'mac80211', '-e', 'cfg80211', '-e', 'printk', 'sh', '-c', 'echo STARTED ; read l'],
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=open('/dev/null', 'w'),
|
||||
|
Loading…
Reference in New Issue
Block a user