1 /*
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 *
4 * HDF is dual licensed: you can use it either under the terms of
5 * the GPL, or the BSD license, at your option.
6 * See the LICENSE file in the root of this repository for complete details.
7 */
8 #include "platform_trace.h"
9
PlatformTraceModuleExplainGet(PLATFORM_TRACE_MODULE traceModule)10 const char *PlatformTraceModuleExplainGet(PLATFORM_TRACE_MODULE traceModule)
11 {
12 (void)traceModule;
13 return NULL;
14 }
15
PlatformTraceFunExplainGet(PLATFORM_TRACE_MODULE_FUN traceFun)16 const char *PlatformTraceFunExplainGet(PLATFORM_TRACE_MODULE_FUN traceFun)
17 {
18 (void)traceFun;
19 return NULL;
20 }
21
PlatformTraceModuleExplainGetAll(void)22 const struct PlatformTraceModuleExplain *PlatformTraceModuleExplainGetAll(void)
23 {
24 return NULL;
25 }
26
PlatformTraceModuleExplainCount(void)27 int32_t PlatformTraceModuleExplainCount(void)
28 {
29 return 0;
30 }
31
PlatformTraceStart(void)32 int32_t PlatformTraceStart(void)
33 {
34 return HDF_SUCCESS;
35 }
36
PlatformTraceStop(void)37 int32_t PlatformTraceStop(void)
38 {
39 return HDF_SUCCESS;
40 }
41
PlatformTraceInfoDump(void)42 void PlatformTraceInfoDump(void)
43 {
44 return;
45 }
46
PlatformTraceReset(void)47 void PlatformTraceReset(void)
48 {
49 return;
50 }
51
PlatformTraceAddMsg(const char * module,const char * moduleFun,const char * fmt,...)52 void PlatformTraceAddMsg(const char *module, const char *moduleFun, const char *fmt, ...)
53 {
54 (void)module;
55 (void)moduleFun;
56 (void)fmt;
57 }
58
PlatformTraceAddUintMsg(int module,int moduleFun,const unsigned int infos[],uint8_t size)59 void PlatformTraceAddUintMsg(int module, int moduleFun, const unsigned int infos[], uint8_t size)
60 {
61 (void)module;
62 (void)moduleFun;
63 (void)infos;
64 (void)size;
65 }
66