blob: c3a48e57388410bde286edd5236b5d138501daa0 [file] [log] [blame] [edit]
# Copyright 2017 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# iwlwifi_dump_processor
#
# Sandbox for the Intel WiFi firmware dump tools. We invoke this from
# upstart so the devcoredump framework doesn't have to wait for it to
# complete.
import DUMP_FILE_PATH
# We don't want stale dump files sitting around so after we process
# one we should get rid of it.
post-stop exec rm -f "${DUMP_FILE_PATH}"
exec iwlwifi_dump_processor "${DUMP_FILE_PATH}" > /var/log/last_iwlwifi_dump