tests: hwsim: Add more tracing
Add SKB tracing (which shows now why/where a frame was dropped in the stack), and also -T for stack trace at each event. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
d76dbe6c7c
commit
d01f677c2a
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,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(['trace-cmd', 'record', '-o', output, '-e', 'mac80211', '-e', 'cfg80211', '-e', 'printk', 'sh', '-c', 'echo STARTED ; read l'],
|
||||
self._trace_cmd = subprocess.Popen(['trace-cmd', 'record', '-o', output, '-T', '-e', 'skb', '-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 a new issue