mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
To be able to parse binary panicinfo from feedback reports, we need a host tool: - Move panicinfo generic parsing functions to a separate C file - Create a new host utility to parse panicinfo BRANCH=none BUG=chromium:643062 TEST=base64 -d | ec_parse_panicinfo Change-Id: Idd8560a2894f270d0ab3a9f654c333135759e57f Reviewed-on: https://chromium-review.googlesource.com/379639 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
20 lines
474 B
C
20 lines
474 B
C
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef EC_PANICINFO_H
|
|
#define EC_PANICINFO_H
|
|
|
|
#include "panic.h"
|
|
|
|
/**
|
|
* Prints panic information to stdout.
|
|
*
|
|
* @param pdata Panic information to print
|
|
* @return 0 if success or non-zero error code if error.
|
|
*/
|
|
int parse_panic_info(const struct panic_data *pdata);
|
|
|
|
#endif /* EC_PANICINFO_H */
|