From 2ee4fe8f43b0dc3e080c91931eadade1fd636c27 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Thu, 8 Oct 2026 11:53:20 -0400 Subject: spdx: add BSD-3-Clause identifiers to userspace/tools/scripts sources Sweep of the 155 tracked C/Python/shell files under userspace/ (excluding the MIT-licensed vendored userspace/extern/), tools/ and scripts/ that had no per-file license identifier. Each gains the minimal two-line header in the area's existing form: 'SPDX-License-Identifier: BSD-3-Clause' plus 'Copyright (c) 2026 Open-IOV contributors'; shebang and coding lines stay first. No other content touched. kernel/** is deliberately out of scope (recorded as a follow-up in CODESTD-REPORT-2026-10-08.md): its SPDX coverage and MODULE_LICENSE normalization need their own GPL-2.0 pass. --- tools/rmtop/include/rmtop.h | 2 ++ tools/rmtop/src/main.c | 2 ++ tools/rmtop/src/panel.c | 2 ++ 3 files changed, 6 insertions(+) (limited to 'tools/rmtop') diff --git a/tools/rmtop/include/rmtop.h b/tools/rmtop/include/rmtop.h index 9335e89..0b55187 100644 --- a/tools/rmtop/include/rmtop.h +++ b/tools/rmtop/include/rmtop.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* rmtop.h - state and rendering declarations for the rmtop dashboard. */ #ifndef RMTOP_H #define RMTOP_H diff --git a/tools/rmtop/src/main.c b/tools/rmtop/src/main.c index b7985df..67ea4eb 100644 --- a/tools/rmtop/src/main.c +++ b/tools/rmtop/src/main.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* main.c - rmtop: ncurses real-time read-only GPU dashboard. * * Interactive mode needs a terminal; --once renders the same panels as plain diff --git a/tools/rmtop/src/panel.c b/tools/rmtop/src/panel.c index 9ad5ac8..63f21f1 100644 --- a/tools/rmtop/src/panel.c +++ b/tools/rmtop/src/panel.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* panel.c - rmtop sampling (read-only RM + /proc) and plain rendering. */ #include #include -- cgit v1.2.3