/* | |
* Copyright (c) 2016 Intel Corporation. | |
* | |
* SPDX-License-Identifier: Apache-2.0 | |
*/ | |
#include <zephyr.h> | |
#include <misc/printk.h> | |
#include <string.h> | |
#include <logging/kernel_event_logger.h> | |
#include "soc_watch.h" | |
#if defined(CONFIG_STDOUT_CONSOLE) | |
#define PRINTF(...) { char output[256]; \ | |
sprintf(output, __VA_ARGS__); puts(output); } | |
#else | |
#define PRINTF(...) printk(__VA_ARGS__) | |
#endif | |
void soc_watch_data_collector(void); | |
void soc_watch_logger_thread_start(void); |