From owner-freebsd-current@freebsd.org Thu Aug 8 19:08:09 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 1E1ACAFD00 for ; Thu, 8 Aug 2019 19:08:09 +0000 (UTC) (envelope-from asomers@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 464HvX65Mqz4kgs for ; Thu, 8 Aug 2019 19:08:08 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id CF3DBAFCFF; Thu, 8 Aug 2019 19:08:08 +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 CEFDAAFCFE for ; Thu, 8 Aug 2019 19:08:08 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) (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 464HvX1bQrz4kgr; Thu, 8 Aug 2019 19:08:07 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-f194.google.com with SMTP id t28so89904712lje.9; Thu, 08 Aug 2019 12:08:07 -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=tkme3+QEPQgFkuodCqn39tqO6jwoxOKFWmiZG7R2+8U=; b=CCjfHoK7vQSVjwPsLeAamv2o5k291FH6in574TlsqmRFmidq2Do6q9FnAotErsOe2F Zl3bL7e/+u0x/d989KyJUIw1UHWvcqz4JyCbDIpIUhwV8XZyRSHuFqhMplJXjok+iq+j ++QRd20VeQ5SIKER/pS4RQQ9M9+XLv3pKbQA9ojjDoOVnd5eS1I5+pa6YdX9Zlp14KpI rtq+kQ4JTvBfImpvfc9G22/TeqLcnlPJgu4/IckY7d5Q/YazTGsP2dPPkcLbIr/bxb82 klx2F6+7UTthCRkw48M08gO1wPb5CRNna8pcLF1AY6pVUNOldInQV3ihHh7Q9iI9RqhR RawQ== X-Gm-Message-State: APjAAAWuMX+eTNVhmqx3Axd3Ob5lNlzBLdNs+jUE3lrl7BFHGAzEAhW4 AdSA1an87P1yqXYRUDfE9+p8n3o+firnpk4yxNa8pUYXEl8= X-Google-Smtp-Source: APXvYqzeJWexbtd1k4Waz8Ze2y5ILm063w68pJGyV3DB3t4TFfrgmwyyehUcGiM+gOtoCg2FDOgevK/Dv5z730Qpwt4= X-Received: by 2002:a2e:9048:: with SMTP id n8mr9179637ljg.37.1565291286452; Thu, 08 Aug 2019 12:08:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 8 Aug 2019 13:07:54 -0600 Message-ID: Subject: Re: kernel module code coverage To: Matthew Macy Cc: Michael Tuexen , "slavash@freebsd.org" , current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 464HvX1bQrz4kgr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.208.194 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-4.24 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; RCVD_IN_DNSWL_NONE(0.00)[194.208.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.25)[ip: (-0.40), ipnet: 209.85.128.0/17(-3.38), asn: 15169(-2.43), country: US(-0.05)]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 19:08:09 -0000 Read the bug report. I can't even load modules when I build with GCOV. On Thu, Aug 8, 2019 at 1:04 PM Matthew Macy wrote: > > 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"