From cab303b3e14a05a701d30bbb52ba917395b51017 Mon Sep 17 00:00:00 2001 From: wuying39 <921169248@qq.com> Date: Thu, 25 Sep 2025 20:52:47 +0800 Subject: [PATCH] modifying the agreement statement --- pmu/bpf/sched_cgroup.bpf.c | 18 ++++-------------- pmu/bpf/sched_counter.bpf.c | 19 ++++--------------- 2 files changed, 8 insertions(+), 29 deletions(-) diff --git a/pmu/bpf/sched_cgroup.bpf.c b/pmu/bpf/sched_cgroup.bpf.c index 60321a7..6587697 100644 --- a/pmu/bpf/sched_cgroup.bpf.c +++ b/pmu/bpf/sched_cgroup.bpf.c @@ -1,17 +1,7 @@ -/****************************************************************************** - * Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved. - * libkperf licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - * Author: Wu - * Create: 2025-08-10 - * Description: the bpf program for cgroup collecting in counting mode - ******************************************************************************/ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2021 Facebook +// Copyright (c) 2021 Google + #include #include #include diff --git a/pmu/bpf/sched_counter.bpf.c b/pmu/bpf/sched_counter.bpf.c index f213676..a427080 100644 --- a/pmu/bpf/sched_counter.bpf.c +++ b/pmu/bpf/sched_counter.bpf.c @@ -1,23 +1,12 @@ -/****************************************************************************** - * Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved. - * libkperf licensed under the Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * http://license.coscl.org.cn/MulanPSL2 - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR - * PURPOSE. - * See the Mulan PSL v2 for more details. - * Author: Wu - * Create: 2025-08-10 - * Description: the bpf program for ordinary or multi-thread program collecting in counting mode - ******************************************************************************/ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2021 Facebook + #include #include #include #include -char LICENSE[] SEC("license") = "GPL"; +char LICENSE[] SEC("license") = "Dual BSD/GPL"; #define MAX_ENTRIES 102400 -- Gitee