🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #513

Bug#1154290: ITP: vock -- vock runs a command and reports which kernel code it executed, using KCOV or hardware tracing

#513
From: Yunseong Kim
Date: Wed, 18 Nov 2026 15:10
61 lines
5394 bytes
Package: wnpp
Severity: wishlist
Owner: Yunseong Kim <ysk@kzalloc.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-rust@lists.debian.org

* Package name    : vock
  Version         : 0.1.0
  Upstream Contact: Yunseong Kim <ysk@kzalloc.com>
* URL             : https://github.com/yskzalloc/vock
* License         : Apache-2.0
  Programming Lang: Rust
  Description     : Kernel code coverage of a user-space command (KCOV, Intel PT, AMD LBR and Arm Coresight ETMv4)

vock runs a command and reports which kernel code it executed,
using KCOV or hardware tracing (Intel PT, AMD LBR/IBS and
Arm Coresight ETMv4), optionally with an strace-style syscall trace and
syzkaller-compatible output. Coverage is symbolized against a vmlinux
(DWARF or BTF) and annotated with kernel source.

* why is this package useful/relevant? is it a dependency for
  another package? do you use it? if there are other packages
  providing similar functionality, how does it compare?

vock is useful for kernel development, testing and security research.
It helps identify which kernel code a user-space workload exercises,
making it easier to inspect test coverage and investigate kernel
reproducers. It provides a command-line workflow combining kernel
coverage collection, source annotation, optional syscall tracing and
syzkaller-compatible output.

Unlike the existing kcov package, which collects coverage of user-space
programs, vock collects coverage of the kernel code exercised by a
command. It also complements trace-cmd, which focuses on recording and
analysing kernel function and event traces. vock brings KCOV and hardware
tracing backends into a single command-oriented coverage tool. Hardware
tracing availability and coverage detail depend on the processor,
kernel configuration and permissions.

* how do you plan to maintain it? inside a packaging team
  (check list at https://wiki.debian.org/Teams)? are you
  looking for co-maintainers? do you need a sponsor?

I am the upstream author and intend to maintain the Debian package,
including tracking upstream releases, handling Debian bug reports and
maintaining the packaging. Initial Debian packaging is already available
in the upstream repository.

The package is intended as a standalone tool, rather than as a
dependency of another package.

I use it for kernel coverage analysis and reproducer investigation.
e.g., kselftest

I plan to maintain it individually initially, but would welcome
co-maintainers and am open to maintaining it within a suitable Debian
packaging team.

I will need a sponsor for the initial upload.

Best regards,
Yunseong Kim
Technical Details
Message-ID: <O0Psm-cHZK-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Yunseong Kim <ysk@kzalloc.com>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel
Subject: Bug#1154290: ITP: vock -- vock runs a command and reports which kernel code it executed, using KCOV or hardware tracing
Date: Wed, 18 Nov 2026 16:10:02 +0100
Message-ID: <O0Psm-cHZK-7@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov 18 15:03:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Yunseong Kim <ysk@kzalloc.com>, 1154290@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-devel@lists.debian.org, debian-rust@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message: report 1154290
X-Debian-Pr-Package: wnpp
X-Gm-Message-State: APuU4Z9weE8jUYCH3MeZ6YY9YLKYe6i75dJaaRQBEJyv0r+RTUJ+MYFQ
	IWkQadhVxnK9RPsj2SLRyK5hnBpZROihthiTA0DvnE3QNLKAdlKQmZ1rkEXOoQ==
X-Gm-Gg: AYBFou2DCWt6Hpj5ltRinhSE/yh6QaxQO3b1tVxqYpEF2zLMIuYo0EdmSNvypHqM6xk
	x9AJTj6KUo3WW7OVJ6kEC7NYia/iJYhQNnUcIBxqPfpTWwAexshx9ssbr2T1lxttk4U5uer8EuV
	ULf0SGUCzd03As0WFTt32bQvCZ7IYbYEA5xnJSxuX33ljFLwJUKXko7x/qSouQNOc41M06fuJtD
	GA3huRvVdEp8CTSIgOwaqQJpz8pACngQLl/cB7YAUeU1MEYNfWIjAK8IF5Q4FYgwhHnx/dNwkJG
	9q8Vv+Z2ii3CKvSwrNmn3EZFCEHc67fVd997K8diqKEkVzoKKS7FDg3yIwGCk2jkr/W3vTWLQcU
	ohqxYMLuWjzfIA1pSfOzGRFcy07xTihOiaAruSgMvAzcRYpkcqIN6JqBDlN6x9+SJCJysjpbb4z
	f7FokSKMI3qjFRZcpDomB0qiYvH/NqDc9CHTiZT/ee/0QCHQLzbH1TAKdyPgCm0uEz6OeFtJx5K
	e+fNMPAmBMngxEAhq0D+PPQR/ATtBsMnJ655jmB8Lx+ra3dl+WwKQePzZG4z6wKCrlSlt/F0gCU
	YfDnzpZrR3rDDAQUxGCXg7AhJ/fL0FMRlbSas6y0uj9SUjYwFx55GAZANMzUSqeEChbZZor8yWG
	mTO9sp7Ow1oUU8C5YtBgzhaysq122ISzmTOYJzMqYsy8CM3TMb3wIyhiPwEw=
X-Received: by 2002:a05:6402:364a:b0:6b7:c8fb:53cc with SMTP id 4fb4d7f45d1cf-6b887c8ab30mr3464165a12.1.1795014092773;
        Wed, 18 Nov 2026 07:01:32 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003288
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 61
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 18 Nov 2026 16:01:31 +0100
X-Original-Message-ID: <179501409184.330006.10879002334835137023.reportbug@ysk>