• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  include/linux/memcheck.h
4  *
5  *  Copyright (c) 2022 Huawei Technologies Co., Ltd.
6  */
7 #ifndef _MEMCHECK_H
8 #define _MEMCHECK_H
9 
10 #ifdef CONFIG_MEMTRACE_ASHMEM
11 void init_ashmem_process_info(void);
12 #else
init_ashmem_process_info(void)13 static inline void init_ashmem_process_info(void) {}
14 #endif
15 
16 #ifdef CONFIG_PURGEABLE_ASHMEM
17 void init_purgeable_ashmem_trigger(void);
18 #else
init_purgeable_ashmem_trigger(void)19 static inline void init_purgeable_ashmem_trigger(void) {}
20 #endif
21 #endif /* _MEMCHECK_H */
22 
23