From 1a01232af288fc968ded6d1a2039cf1c094a942a Mon Sep 17 00:00:00 2001 From: Michael Adisumarta Date: Thu, 7 Oct 2021 17:22:19 -0700 Subject: [PATCH] msm: ipa: macro to determine consolidated stats structure Macro for detecting consolidated stats structure mismatch between ipa_lnx_agent and IPA stats module. Change-Id: I5322d432710a798305b6943a0e4b379880eabab9 Signed-off-by: Michael Adisumarta --- include/uapi/linux/msm_ipa.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/msm_ipa.h b/include/uapi/linux/msm_ipa.h index db929af2900a..78dcde12540e 100644 --- a/include/uapi/linux/msm_ipa.h +++ b/include/uapi/linux/msm_ipa.h @@ -300,6 +300,8 @@ /* IPA Linux mhip instance stats structures */ #define IPA_LNX_MHIP_INSTANCE_INFO_STRUCT_LEN (16 + 112 + 120) #define IPA_LNX_MHIP_INST_STATS_STRUCT_LEN (8 + 248) +/* IPA Linux consolidated stats structure */ +#define IPA_LNX_CONSOLIDATED_STATS_STRUCT_LEN (8 + 48) /* IPA Linux Instance allocation info structures */ #define IPA_LNX_EACH_INST_ALLOC_INFO_STRUCT_LEN (24 + 12 + 12 + 16) #define IPA_LNX_STATS_ALL_INFO_STRUCT_LEN (32 + 128 + 128 + 128)