From owner-freebsd-current@freebsd.org Thu Aug 8 13:52:17 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C51E1CF46F for ; Thu, 8 Aug 2019 13:52:17 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4648v52vZpz4M9v for ; Thu, 8 Aug 2019 13:52:17 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 636B4CF46E; Thu, 8 Aug 2019 13:52:17 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 632F2CF46D for ; Thu, 8 Aug 2019 13:52:17 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4648v51vnkz4M9t; Thu, 8 Aug 2019 13:52:16 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f67.google.com with SMTP id b29so59671946lfq.1; Thu, 08 Aug 2019 06:52:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=a2Kj/hPj7SsXJJMRCsHqFzAVYdqyUhI82ja4vytBf3I=; b=O9VEgDrerdUXGJn4PjGZWOOgbgalr3OXONd2uVmfO3h6OeE2wTAamebgBxmFYIUFzp Xcn+O9zvHloD/n24rFb/TNS8D+Yl1e5w7N3DFIcMc1aNz3+m7bXvfGR9coRwRBJyBcIB dvYUWeBEh9SC+yWMAZkKU9n/tEYNLcOVl0oXWaiFZ19pXVHxOUEWM+PjB9Jb5WTBWHvE KVoCZz18LL3p21iuRdKnREkY6zbMFpDBEVwPgnvmGmvFGldyijhHIdf9rhdTKYKTb1Gk RxpDTT/Xpahk98jvRON9NMpYVVMpjXpghLYlIoiUcR6ttOUUDr+znLC7vSWz0iX68VLQ gPYw== X-Gm-Message-State: APjAAAWLcE4cmjFHdE7nbzte8BMdDoH0g5H4eg1ZvM+gLNiVKkya9Cl7 x+rd0Qy1MAHc4xW5VEboSQnQNIpRld1V+oAv89b3O7Eqips= X-Google-Smtp-Source: APXvYqxRtSE2QjZ3/bOWGbYAKhc3uzX1eYEHCnBWueQiXiNZAyDoFKHJgL4n3z/XQJVFFjmIzG9iyPW9+cCozsDWIFw= X-Received: by 2002:a19:cbc4:: with SMTP id b187mr9190851lfg.27.1565272334721; Thu, 08 Aug 2019 06:52:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 8 Aug 2019 07:52:03 -0600 Message-ID: Subject: Re: kernel module code coverage To: Michael Tuexen Cc: "slavash@freebsd.org" , current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4648v51vnkz4M9t X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Aug 2019 13:52:17 -0000 On Thu, Aug 8, 2019 at 7:42 AM Michael Tuexen wrote: > > > > > On 8. Aug 2019, at 14:24, Slava Shwartsman wrote: > > > > Apparently, Bullseye are dropping support for FreeBSD. > > > > We are looking for an alternative for kernel module run time analysis. > > Mostly interested in code coverage (for now). > > > > Any suggestions that work for you? > Have you looked into /dev/kcov. This is used by SYZKALLER for getting > coverage information from the kernel. > > Best regards > Michael > > > > > > Slava That's part of Matt Macy's gcov project, right?. However, while it works for the kernel itself, it doesn't work for modules. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239194 -Alan