Commit b4a27402 authored by jiangxinpei's avatar jiangxinpei Committed by Treehugger Robot
Browse files

ANDROID: GKI: modify vendor hook name for Honor ogki



1. Modify vendor hook name for Honor ogki to solve vh/rvh
   symbol name too long issue. This issue only happen when
   we use our own ogki vh/rvh in our oem modules.

2. Add parameters declarations that ogki vh/rvh needed.
   These parameters declarations have already been declared
   in other vh/rvh declare header files, when our vendor modules
   only include ogki_honor.h, we need to make declarations for
   these parameters. This issue could only be found when we
   built vendor modules. So we move these to our ogki vh/rvh
   declarations header files:
   ufs_hba has already in include/trace/hooks/ufshcd.h
   task_struct has already in include/trace/hooks/sched.h
   sock and sk_buff have already in include/trace/hooks/net.h

3. task_struct is used for android_vh_ogki_check_vip_status
   sock is used for android_vh_ogki_tcp_srtt_estimator
   sk_buff is used for android_vh_ogki_udp_unicast_rcv_skb
   ufs_hba is used for android_vh_ogki_ufs_dsm
   remove unused struct scsi_device

Bug: 361519657
Change-Id: Ie89f3ee402e405bf6d1b6d67c7b9ca1bd094b94c
Fixes: eba98a6e ("ANDROID: GKI: Add vendor hook define for Honor ogki")
Signed-off-by: default avatarDezhi Huang <huangdezhi@hihonor.com>
parent 561b551d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment