Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
65 lines
1.7 KiB
C
65 lines
1.7 KiB
C
/*
|
|
* Copyright (C) 2015 MediaTek Inc.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef MET_DRV_UDTL_H
|
|
#define MET_DRV_UDTL_H
|
|
|
|
|
|
/******************************************************************************
|
|
* User-Defined Trace Line
|
|
******************************************************************************/
|
|
#define MET_UDTL_PROP_TYPE ulong
|
|
|
|
|
|
/*
|
|
* Declare PROPS Data Structure
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
* Instance a PROPS Structure
|
|
*/
|
|
#define MET_UDTL_DEFINE_PROP(_PROPS_NAME_)
|
|
|
|
/*
|
|
* PROPS Structure related
|
|
*/
|
|
#define MET_UDTL_PROP_DATATYPE(_PROPS_NAME_)
|
|
#define MET_UDTL_PROP_SIZE(_PROPS_NAME_) (0)
|
|
|
|
|
|
/*
|
|
* Access PROPS Structure
|
|
*/
|
|
#define MET_UDTL_GET_PROP_POINTER(_PROPS_NAME_) (NULL)
|
|
|
|
#define MET_UDTL_SET_PROP(_PROPS_NAME_, _FIELD_NAME_, _VALUE_)
|
|
|
|
#define MET_UDTL_SET_PROP_POINTER(_PROPS_POINTER_NAME_, _FIELD_NAME_, _VALUE_)
|
|
|
|
#define MET_UDTL_CLEAR_PROP(_PROPS_NAME_)
|
|
|
|
|
|
/*
|
|
* Functions Call
|
|
*/
|
|
#define MET_UDTL_TRACELINE_BEGIN(_PAGE_NAME_, _TRACELINE_NAME_, _FMTSTR_, ...)
|
|
#define MET_UDTL_TRACELINE_END(_PAGE_NAME_, _TRACELINE_NAME_, _FMTSTR_, ...)
|
|
#define MET_UDTL_TRACELINE_PROP(_PAGE_NAME_, _TRACELINE_NAME_, _PROPS_NAME_)
|
|
#define MET_UDTL_TRACELINE_DEBUG(_PAGE_NAME_, _TRACELINE_NAME_, _DEBUG_STR_)
|
|
#define MET_UDTL_IS_TRACELINE_ON(_PAGE_NAME_, _TRACELINE_NAME_) (0)
|
|
|
|
|
|
#endif /* MET_DRV_UDTL_H */
|