xref: /aosp_15_r20/external/bcc/src/cc/export/footer.h (revision 387f9dfdfa2baef462e92476d413c7bc2470293e)
1*387f9dfdSAndroid Build Coastguard Worker R"********(
2*387f9dfdSAndroid Build Coastguard Worker /*
3*387f9dfdSAndroid Build Coastguard Worker  * Copyright (c) 2018 Clevernet, Inc.
4*387f9dfdSAndroid Build Coastguard Worker  *
5*387f9dfdSAndroid Build Coastguard Worker  * Licensed under the Apache License, Version 2.0 (the "License");
6*387f9dfdSAndroid Build Coastguard Worker  * you may not use this file except in compliance with the License.
7*387f9dfdSAndroid Build Coastguard Worker  * You may obtain a copy of the License at
8*387f9dfdSAndroid Build Coastguard Worker  *
9*387f9dfdSAndroid Build Coastguard Worker  * http://www.apache.org/licenses/LICENSE-2.0
10*387f9dfdSAndroid Build Coastguard Worker  *
11*387f9dfdSAndroid Build Coastguard Worker  * Unless required by applicable law or agreed to in writing, software
12*387f9dfdSAndroid Build Coastguard Worker  * distributed under the License is distributed on an "AS IS" BASIS,
13*387f9dfdSAndroid Build Coastguard Worker  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*387f9dfdSAndroid Build Coastguard Worker  * See the License for the specific language governing permissions and
15*387f9dfdSAndroid Build Coastguard Worker  * limitations under the License.
16*387f9dfdSAndroid Build Coastguard Worker  */
17*387f9dfdSAndroid Build Coastguard Worker 
18*387f9dfdSAndroid Build Coastguard Worker #ifndef BPF_LICENSE
19*387f9dfdSAndroid Build Coastguard Worker /* No license defined, using GPL
20*387f9dfdSAndroid Build Coastguard Worker  * You can define your own BPF_LICENSE in your C code */
21*387f9dfdSAndroid Build Coastguard Worker #define BPF_LICENSE GPL
22*387f9dfdSAndroid Build Coastguard Worker #endif
23*387f9dfdSAndroid Build Coastguard Worker #define ___LICENSE(s) #s
24*387f9dfdSAndroid Build Coastguard Worker #define __LICENSE(s) ___LICENSE(s)
25*387f9dfdSAndroid Build Coastguard Worker #define _LICENSE __LICENSE(BPF_LICENSE)
26*387f9dfdSAndroid Build Coastguard Worker char _license[] BCC_SEC("license") = _LICENSE;
27*387f9dfdSAndroid Build Coastguard Worker 
28*387f9dfdSAndroid Build Coastguard Worker )********"
29