2013-04-23 86 views
2

我試圖使用systrace在Android 4.2(AVD 17)模擬器Systrace在Android模擬器

我已經啓用USB debuggimg並在跟蹤選項激活的WebView和folloed這裏本指南http://www.youtube.com/watch?feature=player_embedded&v=Q8m9sHdyXnE#t=31m15s

但是,當我嘗試啓動android的tools目錄中我看到下面的輸出

error opening /sys/kernel/debug/tracing/options/overwrite: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/sched/sched_switch/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/power/cpu_frequency/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/power/cpu_idle/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/buffer_size_kb: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/trace_clock: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/workqueue/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/block/block_rq_issue/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/block/block_rq_complete/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/tracing_on: No such file or directory (2) 
error: unable to start trace 
error opening /sys/kernel/debug/tracing/tracing_on: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/options/overwrite: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/sched/sched_switch/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/power/cpu_frequency/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/trace_clock: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/workqueue/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/block/block_rq_issue/enable: No such file or directory (2) 
error opening /sys/kernel/debug/tracing/events/block/block_rq_complete/enable: No such file or directory (2) 
unable to start tracing 
error opening /sys/kernel/debug/tracing/buffer_size_kb: No such file or directory (2) 

任何人都知道我需要做的就是跟蹤工作使用./systrace.py跟蹤?

+0

我認爲這個答案有解決方案: http://stackoverflow.com/questions/11618755/failed-to-use-systrace-in-jelly-bean – doubleristretto 2013-05-31 22:08:18

回答