summaryrefslogtreecommitdiffstats
path: root/tools/rmtop
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 12:02:40 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 12:02:40 -0400
commitb232f7d82c699c4a1e922a0d045337d29dab824b (patch)
treeee8686f5014cf9724405184e813438c9882961b8 /tools/rmtop
parentb7d833672f95d00a0fe86cbaa1370e9a062cd363 (diff)
parentd380e5a46850000120b8745d50b5c167a4404fb1 (diff)
downloadopen-iov-b232f7d82c699c4a1e922a0d045337d29dab824b.tar.gz
open-iov-b232f7d82c699c4a1e922a0d045337d29dab824b.zip
merge ws/code-standards: editorconfig/clang-format, userspace style doc, SPDX sweep, conventions (handoff-code-standards.txt)
Diffstat (limited to 'tools/rmtop')
-rw-r--r--tools/rmtop/include/rmtop.h2
-rw-r--r--tools/rmtop/src/main.c2
-rw-r--r--tools/rmtop/src/panel.c2
3 files changed, 6 insertions, 0 deletions
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 <stdio.h>
#include <stdlib.h>