From owner-freebsd-current@freebsd.org Thu Aug 8 19:04:43 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 B5288AFC90 for ; Thu, 8 Aug 2019 19:04:43 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 464Hqb0FrVz4kcn for ; Thu, 8 Aug 2019 19:04:43 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 06C1DAFC8F; Thu, 8 Aug 2019 19:04:43 +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 0687BAFC8E for ; Thu, 8 Aug 2019 19:04:43 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) (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 464HqZ64kmz4kcl; Thu, 8 Aug 2019 19:04:42 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by mail-ot1-x344.google.com with SMTP id l15so122946749otn.9; Thu, 08 Aug 2019 12:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qS45HjzIgmXBo/uNee3o0HqRvoTg0EdQ/DXCYOqf/iQ=; b=iYJXm7BlLZ8UeNVDCiBobadhOQV8mjQBl5daYQ1QnNcX2Ly/I5nJD2uIK3LcViPGQr 1UL1bjV+de0jldtMbJVO7SdUkFnJl8jmCiqZ82EhlUpTP2Y8OyBFzWlLEFo1gdGYrFhN nAmK/JOhjvk9ZvOIVM1MGHVj+hqpoqItHklGv4JM1nRwfLUyjvwEMClLc3/SKo8vnTDM cXWrLbqCbhrwlWkTJwGJHoMzSYnpvRdC+oDjn68Azt3qyiOY8mibSxrpy9kpgCZAXv3o uoza9sTWPT3MlZwFHPdWtufwPpgAaTcaI+Xdryxpop/HZT3kNLwIONSwaOiJL3a+qPP7 /lIw== 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=qS45HjzIgmXBo/uNee3o0HqRvoTg0EdQ/DXCYOqf/iQ=; b=NSXsN3J+URDW2mW/1OBTLIt6G65+0bA5LKrAu/QTsBE/GtdyW5qz+P6RahH3HOcgvM iH2EHmPpH3okFZopnL9ixRlP4OnOzaTQiku64wVwyXj9G3xDgJvLf/0+SxQMtW/9cuX0 hjm5QDFpnZRLzFg/dREjD02xhSBEour0ebqXggCKu10tOMFkXlUr8N8XDNi5kzfJUU7u 4h1LMZMI3ae4vPOwXGPZpdrRXxIlA63L+Y2xctQGzA/LdM4slocMOFfKD9fPlYYrgpGD qWJoBkJE/urF6BcMsM7gXKSDtNF6pObAjutOML4w0KIUJ9tRb6WaM6rgMaZujrlTiqbh 3UQQ== X-Gm-Message-State: APjAAAVs67S1HE9PzN9XooainqXER2ubIuK+/naplBx2afCMjhvE5hI5 U2O1lInqY+iaSaqhrmFGv3+j3xLADM4zN27YtVPNqQ== X-Google-Smtp-Source: APXvYqyR5+NR2kDAZtY+2klYY+M/ZZfM8QpxTO6K2dfNnf4tznpZ1QJD9feAT1lZOwpIuO12LRa+HW03rmB6me+9/co= X-Received: by 2002:a02:85ef:: with SMTP id d102mr18800143jai.63.1565291081508; Thu, 08 Aug 2019 12:04:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Matthew Macy Message-ID: Subject: Re: kernel module code coverage To: Alan Somers Cc: Michael Tuexen , "slavash@freebsd.org" , current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 464HqZ64kmz4kcl X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; TAGGED_FROM(0.00)[] X-Mailman-Approved-At: Sun, 13 Oct 2019 15:23:46 +0000 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: , Date: Thu, 08 Aug 2019 19:04:43 -0000 X-Original-Date: Thu, 8 Aug 2019 12:04:30 -0700 X-List-Received-Date: Thu, 08 Aug 2019 19:04:43 -0000 The whole point of adding gcov support was for integrating with the ZoL CI framework which does coverage. So it very much does work with modules. Not sure where that comes from. -M On Thu, Aug 8, 2019 at 6:52 AM Alan Somers wrote: > > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"