From 46625e8b0602f104c2843d365a965fb5a7efb0f3 Mon Sep 17 00:00:00 2001 From: Wetp Zhang Date: Tue, 24 May 2022 14:45:13 +0800 Subject: [PATCH] remove wrong license from header Signed-off-by: Wetp Zhang --- source/tools/detect/irqoff/bpf/irqoff.bpf.c | 1 - source/tools/detect/irqoff/irqoff.c | 2 -- source/tools/detect/irqoff/irqoff.h | 1 - source/tools/detect/net_diag/rtrace/ebpf/utils/disasm.c | 5 ----- source/tools/detect/syscall_slow/bpf/syscall_slow.bpf.c | 1 - source/tools/detect/syscall_slow/syscall_slow.c | 2 -- source/tools/detect/syscall_slow/syscall_slow.h | 1 - source/tools/monitor/sched/nosched/bpf/nosched.bpf.c | 7 ------- source/tools/monitor/sched/nosched/nosched.c | 4 ---- source/tools/monitor/sched/runqslower/bpf/runqslower.bpf.c | 2 -- source/tools/monitor/sched/runqslower/runqslower.c | 7 ------- source/tools/monitor/sched/runqslower/runqslower.h | 1 - source/tools/monitor/sched/schedmoni/bpf/schedmoni.bpf.c | 1 - source/tools/monitor/sched/schedmoni/nosched.c | 4 ---- source/tools/monitor/sched/schedmoni/schedmoni.c | 1 - source/tools/monitor/sched/schedmoni/schedmoni.h | 1 - 16 files changed, 41 deletions(-) diff --git a/source/tools/detect/irqoff/bpf/irqoff.bpf.c b/source/tools/detect/irqoff/bpf/irqoff.bpf.c index 19f4b16c..849fbdac 100644 --- a/source/tools/detect/irqoff/bpf/irqoff.bpf.c +++ b/source/tools/detect/irqoff/bpf/irqoff.bpf.c @@ -1,4 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 #include #include #include diff --git a/source/tools/detect/irqoff/irqoff.c b/source/tools/detect/irqoff/irqoff.c index aeb802dd..d8165870 100644 --- a/source/tools/detect/irqoff/irqoff.c +++ b/source/tools/detect/irqoff/irqoff.c @@ -1,5 +1,3 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) - #include #include #include diff --git a/source/tools/detect/irqoff/irqoff.h b/source/tools/detect/irqoff/irqoff.h index 164e2825..98682d02 100644 --- a/source/tools/detect/irqoff/irqoff.h +++ b/source/tools/detect/irqoff/irqoff.h @@ -1,4 +1,3 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __IRQOFF_H #define __IRQOFF_H diff --git a/source/tools/detect/net_diag/rtrace/ebpf/utils/disasm.c b/source/tools/detect/net_diag/rtrace/ebpf/utils/disasm.c index 130ff880..78cfe363 100644 --- a/source/tools/detect/net_diag/rtrace/ebpf/utils/disasm.c +++ b/source/tools/detect/net_diag/rtrace/ebpf/utils/disasm.c @@ -1,8 +1,3 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com - * Copyright (c) 2016 Facebook - */ - #include #include #include diff --git a/source/tools/detect/syscall_slow/bpf/syscall_slow.bpf.c b/source/tools/detect/syscall_slow/bpf/syscall_slow.bpf.c index 9290e256..40e656e3 100644 --- a/source/tools/detect/syscall_slow/bpf/syscall_slow.bpf.c +++ b/source/tools/detect/syscall_slow/bpf/syscall_slow.bpf.c @@ -1,4 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 #include #include #include diff --git a/source/tools/detect/syscall_slow/syscall_slow.c b/source/tools/detect/syscall_slow/syscall_slow.c index 8a0e6df0..bf50fa2f 100644 --- a/source/tools/detect/syscall_slow/syscall_slow.c +++ b/source/tools/detect/syscall_slow/syscall_slow.c @@ -1,5 +1,3 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) - #include #include #include diff --git a/source/tools/detect/syscall_slow/syscall_slow.h b/source/tools/detect/syscall_slow/syscall_slow.h index 2cccc054..7ef3602f 100644 --- a/source/tools/detect/syscall_slow/syscall_slow.h +++ b/source/tools/detect/syscall_slow/syscall_slow.h @@ -1,4 +1,3 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __IRQOFF_H #define __IRQOFF_H diff --git a/source/tools/monitor/sched/nosched/bpf/nosched.bpf.c b/source/tools/monitor/sched/nosched/bpf/nosched.bpf.c index b879a6d2..d0a14624 100644 --- a/source/tools/monitor/sched/nosched/bpf/nosched.bpf.c +++ b/source/tools/monitor/sched/nosched/bpf/nosched.bpf.c @@ -1,10 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause -/* Copyright (c) 2021 Sartura */ -/* - * Todo: 1. how to distinguish CONFIG_THREAD_INFO_IN_TASK configured? - * 2. why #ifdef __x86_64__ not work at nosched.bpf.c? - * 3. some magic NUMBER, like max_entries, need to be configable - * */ #include #include #include diff --git a/source/tools/monitor/sched/nosched/nosched.c b/source/tools/monitor/sched/nosched/nosched.c index c087970a..32c13af0 100644 --- a/source/tools/monitor/sched/nosched/nosched.c +++ b/source/tools/monitor/sched/nosched/nosched.c @@ -1,7 +1,3 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -/* Copyright (c) 2021 Sartura - * Based on minimal.c by Facebook */ - #include #include #include diff --git a/source/tools/monitor/sched/runqslower/bpf/runqslower.bpf.c b/source/tools/monitor/sched/runqslower/bpf/runqslower.bpf.c index d362fd3f..6eb8b268 100644 --- a/source/tools/monitor/sched/runqslower/bpf/runqslower.bpf.c +++ b/source/tools/monitor/sched/runqslower/bpf/runqslower.bpf.c @@ -1,5 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2019 Facebook #include #include #include "../runqslower.h" diff --git a/source/tools/monitor/sched/runqslower/runqslower.c b/source/tools/monitor/sched/runqslower/runqslower.c index 0b948182..6e2ccfb1 100644 --- a/source/tools/monitor/sched/runqslower/runqslower.c +++ b/source/tools/monitor/sched/runqslower/runqslower.c @@ -1,8 +1,3 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -// Copyright (c) 2019 Facebook -// -// Based on runqslower(8) from BCC by Ivan Babrou. -// 11-Feb-2020 Andrii Nakryiko Created this. #include #include #include @@ -40,8 +35,6 @@ struct env { }; const char *argp_program_version = "runqslower 0.1"; -const char *argp_program_bug_address = - "https://github.com/iovisor/bcc/tree/master/libbpf-tools"; const char argp_program_doc[] = "Trace high run queue latency.\n" "\n" diff --git a/source/tools/monitor/sched/runqslower/runqslower.h b/source/tools/monitor/sched/runqslower/runqslower.h index 8f9253a0..31dfc8f6 100644 --- a/source/tools/monitor/sched/runqslower/runqslower.h +++ b/source/tools/monitor/sched/runqslower/runqslower.h @@ -1,4 +1,3 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __RUNQSLOWER_H #define __RUNQSLOWER_H diff --git a/source/tools/monitor/sched/schedmoni/bpf/schedmoni.bpf.c b/source/tools/monitor/sched/schedmoni/bpf/schedmoni.bpf.c index 4c29af8e..4f1428bb 100644 --- a/source/tools/monitor/sched/schedmoni/bpf/schedmoni.bpf.c +++ b/source/tools/monitor/sched/schedmoni/bpf/schedmoni.bpf.c @@ -1,4 +1,3 @@ -// SPDX-License-Identifier: GPL-2.0 #include #include #include diff --git a/source/tools/monitor/sched/schedmoni/nosched.c b/source/tools/monitor/sched/schedmoni/nosched.c index b7d8f569..36a86118 100644 --- a/source/tools/monitor/sched/schedmoni/nosched.c +++ b/source/tools/monitor/sched/schedmoni/nosched.c @@ -1,7 +1,3 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) -/* Copyright (c) 2021 Sartura - * Based on minimal.c by Facebook */ - #include #include #include diff --git a/source/tools/monitor/sched/schedmoni/schedmoni.c b/source/tools/monitor/sched/schedmoni/schedmoni.c index fe0bda81..e36444e8 100644 --- a/source/tools/monitor/sched/schedmoni/schedmoni.c +++ b/source/tools/monitor/sched/schedmoni/schedmoni.c @@ -1,4 +1,3 @@ -// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) #include #include #include diff --git a/source/tools/monitor/sched/schedmoni/schedmoni.h b/source/tools/monitor/sched/schedmoni/schedmoni.h index f7f4e651..282eae63 100644 --- a/source/tools/monitor/sched/schedmoni/schedmoni.h +++ b/source/tools/monitor/sched/schedmoni/schedmoni.h @@ -1,4 +1,3 @@ -/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ #ifndef __RUNQSLOWER_H #define __RUNQSLOWER_H #define TASK_COMM_LEN 16 -- Gitee