Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/um/kernel/gmon_syms.c
10817 views
1
/*
2
* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3
* Licensed under the GPL
4
*/
5
6
#include "linux/module.h"
7
8
extern void __bb_init_func(void *) __attribute__((weak));
9
EXPORT_SYMBOL(__bb_init_func);
10
11
/*
12
* This is defined (and referred to in profiling stub code) only by some GCC
13
* versions in libgcov.
14
*
15
* Since SuSE backported the fix, we cannot handle it depending on GCC version.
16
* So, unconditionally export it. But also give it a weak declaration, which
17
* will be overridden by any other one.
18
*/
19
20
extern void __gcov_init(void *) __attribute__((weak));
21
EXPORT_SYMBOL(__gcov_init);
22
23
extern void __gcov_merge_add(void *) __attribute__((weak));
24
EXPORT_SYMBOL(__gcov_merge_add);
25
26