simplify fwdump script

Since the parser takes a long time to run, we need to run it at
collection time rather than feedback time. We should also check to
make sure we're not doing this too frequently, since crashloops
would otherwise lead to a buildup of processes.

This also gets rid of a lot of other stuff we weren't going to
collect because debugd already does that for us.

TEST=deploy, then in a shell:
  # echo 1 > /sys/kernel/debug/iwlwifi/0000\:02\:00.0/iwlmvm/fw_dbg_collect
  and check /var/log/messages and /var/log/last_iwlwifi_dump

Change-Id: Ia7a547ad02b842f7566999238d1b8b16e55ad5bb
Commit-Ready: Eric Caruso <>
Tested-by: Eric Caruso <>
Reviewed-by: Ben Chan <>
Tested-by: Kirtika Ruchandani <>
Reviewed-by: Mike Frysinger <>
Commit-Queue: Mike Frysinger <>
1 file changed