Fix bugs in profiler 35/27335/19
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Sat, 21 Jan 2017 14:30:05 +0000 (22:30 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Tue, 31 Jan 2017 15:23:52 +0000 (23:23 +0800)
commiteac3701e474623103ac10d8238b5e406355a0724
tree8e159bd5bb2c186fcb8c99632a7c68a83f1cd5f6
parentc9d0d2c9fc16f2e989444bc4d7d8fab8060433ba
Fix bugs in profiler

- collect disable_network.log
- use Python oneliner instead of `bc`
- rename T00 from hostdown to linkdown
- add step collect_logs
- move profiler to a dedicated step
- reorder function definitions to elimate warning on unresolved variable
- redirect also stderr to log

JIRA: DOCTOR-94
Change-Id: Ic63e5163945c5b21fd1d1c0bf99be353c11c2ada
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
tests/profiler-poc.py
tests/run.sh