From 191a429c4c0e671dcfdf53d04e38796d28e2d5cf Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 7 Oct 2016 21:42:56 +0200 Subject: manager: save user tag with crash reports If config contains "tag" parameter, save it along with crash reports. The tag is meant to contain kernel branch/commit hash. If workdir contains crashes from different kernel versions, it is useful to be able to find out on what kernel revision a crash happened. --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/config.go b/config/config.go index d8a0742c2..9a6cb4f08 100644 --- a/config/config.go +++ b/config/config.go @@ -23,6 +23,7 @@ type Config struct { Workdir string Vmlinux string Kernel string // e.g. arch/x86/boot/bzImage + Tag string // arbitrary optional tag that is saved along with crash reports (e.g. kernel branch/commit) Cmdline string // kernel command line Image string // linux image for VMs Initrd string // linux initial ramdisk. (optional) @@ -279,6 +280,7 @@ func checkUnknownFields(data []byte) (string, error) { "Workdir", "Vmlinux", "Kernel", + "Tag", "Cmdline", "Image", "Cpu", -- cgit mrf-deployment