mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-27 00:51:47 +00:00
commit
46b7f3c18d
10
LICENSE
10
LICENSE
@ -1,3 +1,13 @@
|
||||
Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
|
||||
|
||||
Because of hiebpf.bpf.c,bpf_log_write.h,fstrace_progs.h,hiebpf_types.h is run at kernel mode, other files
|
||||
under hiebpf subdirectories is run at user mode, so other files under hiebpf subdirectories use Apache License.
|
||||
The hiebpf.bpf.c,bpf_log_write.h,fstrace_progs.h,hiebpf_types.h is dual licensed: you can use it
|
||||
either under the terms of the GPL V2, or the 3-Clause BSD license, at your option.
|
||||
|
||||
hiebpf is dual licensed: you can use it either under the terms of
|
||||
the GPL V2, or the BSD3 license, at your option.
|
||||
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
|
5
OAT.xml
5
OAT.xml
@ -97,6 +97,11 @@ Note:If the text contains special characters, please escape them according to th
|
||||
<filteritem type="filepath" name="host/smartperf/trace_streamer/.gitignore" desc="gitignore file, no license header"/>
|
||||
<filteritem type="filepath" name="device/plugins/ftrace_plugin/test/unittest/resource/test_comm" desc="test resource file, no license header"/>
|
||||
<filteritem type="filepath" name="device/plugins/ftrace_plugin/test/unittest/resource/test_tgid" desc="test resource file, no license header"/>
|
||||
<filteritem type="filepath" name="LICENSE" desc="license file"/>
|
||||
<filteritem type="filepath" name="hiebpf/src/hiebpf.bpf.c" desc="The hiebpf.bpf.c is dual licensed"/>
|
||||
<filteritem type="filepath" name="hiebpf/include/bpf_log_writer.h" desc="The bpf_log_write.h is dual licensed"/>
|
||||
<filteritem type="filepath" name="hiebpf/include/fstrace_progs.h" desc="The fstrace_progs.h is dual licensed"/>
|
||||
<filteritem type="filepath" name="hiebpf/include/hiebpf_types.h" desc="The hiebpf_types.h is dual licensed"/>
|
||||
</filefilter>
|
||||
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies" >
|
||||
<filteritem type="filepath" name="device/plugins/memory_plugin/test/utresources/proc/.*" desc="test resource file, no copyright header"/>
|
||||
|
@ -1,18 +1,10 @@
|
||||
/*
|
||||
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
|
||||
|
||||
* The bpf_log_writer.h is dual licensed: you can use it either under the terms of
|
||||
* the GPL V2, or the 3-Clause BSD license, at your option.
|
||||
* See the LICENSE file in the root of this repository for complete details.
|
||||
*/
|
||||
#ifndef BPF_LOG_WRITER_H
|
||||
#define BPF_LOG_WRITER_H
|
||||
|
||||
|
@ -1,16 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
|
||||
|
||||
* The fstrace_progs.h is dual licensed: you can use it either under the terms of
|
||||
* the GPL V2, or the 3-Clause BSD license, at your option.
|
||||
* See the LICENSE file in the root of this repository for complete details.
|
||||
*/
|
||||
|
||||
/* This line is generated to truncate the original file */
|
||||
|
@ -1,16 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
|
||||
|
||||
* The hiebpf_types.h is dual licensed: you can use it either under the terms of
|
||||
* the GPL V2, or the 3-Clause BSD license, at your option.
|
||||
* See the LICENSE file in the root of this repository for complete details.
|
||||
*/
|
||||
|
||||
#ifndef HIEBPF_EVENT_STRUCTS_H
|
||||
|
@ -1,16 +1,9 @@
|
||||
/*
|
||||
* Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* Copyright (c) 2024 Huawei Device Co., Ltd. All rights reserved.
|
||||
|
||||
* The hiebpf.bpf.c is dual licensed: you can use it either under the terms of
|
||||
* the GPL V2, or the 3-Clause BSD license, at your option.
|
||||
* See the LICENSE file in the root of this repository for complete details.
|
||||
*/
|
||||
|
||||
#include <linux/version.h>
|
||||
|
Loading…
Reference in New Issue
Block a user