From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D048C433E6 for ; Fri, 22 Jan 2021 08:49:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2194A235F9 for ; Fri, 22 Jan 2021 08:49:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2194A235F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8736D6B000C; Fri, 22 Jan 2021 03:49:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 822106B000D; Fri, 22 Jan 2021 03:49:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 738686B000E; Fri, 22 Jan 2021 03:49:50 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0190.hostedemail.com [216.40.44.190]) by kanga.kvack.org (Postfix) with ESMTP id 59D0A6B000C for ; Fri, 22 Jan 2021 03:49:50 -0500 (EST) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 1B31C3A97 for ; Fri, 22 Jan 2021 08:49:50 +0000 (UTC) X-FDA: 77732788140.29.ducks21_5e0a95f2756a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 00327180DC78B for ; Fri, 22 Jan 2021 08:49:49 +0000 (UTC) X-HE-Tag: ducks21_5e0a95f2756a X-Filterd-Recvd-Size: 3034 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf04.hostedemail.com (Postfix) with ESMTP for ; Fri, 22 Jan 2021 08:49:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1611305388; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NEFq9Vo5tsftoHadkZR1mekE9jHN/36+yPVxwO7sQQM=; b=YJLj7QPUdvJeZ8wtD8Ll51QT3Sqvet61bFV2X4+SqXNrEcGPF1XZKhnJarw0xIf0rqbwpx G6DvicyaYRRvKuFNbczaMhLCI6wkkFm2sKhnRU9VU0oNjBtRh1bbzoxYV3fw7N85RH/uGd gV3lDRxqn8CYgwhADWmumUrCyoclbZ8= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 44016AB9F; Fri, 22 Jan 2021 08:49:48 +0000 (UTC) Date: Fri, 22 Jan 2021 09:49:47 +0100 From: Petr Mladek To: Alexander Potapenko Cc: Andrew Morton , Marco Elver , Andrey Konovalov , Dmitriy Vyukov , Ingo Molnar , Steven Rostedt , Sergey Senozhatsky , Linux Memory Management List , Linux API , Vlastimil Babka , Greg Kroah-Hartman Subject: Re: [PATCH v3 0/3] Add error_report_end tracepoint to KFENCE and KASAN Message-ID: References: <20210121131915.1331302-1-glider@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri 2021-01-22 09:41:54, Alexander Potapenko wrote: > On Fri, Jan 22, 2021 at 9:32 AM Petr Mladek wrote: > > > > On Thu 2021-01-21 14:19:12, Alexander Potapenko wrote: > > > This patchset adds a tracepoint, error_repor_end, that is to be used by > > > KFENCE, KASAN, and potentially other bug detection tools, when they > > > print an error report. > > > One of the possible use cases is userspace collection of kernel error > > > reports: interested parties can subscribe to the tracing event via > > > tracefs, and get notified when an error report occurs. > > > > > > v3: > > > - dropped the sysfs interface for log collection > > > - dropped error_report_start tracepoint > > > > Just for record. This approach looks reasonable to me. > > Thanks for removing the sysfs interface. It would have been > > a potential can of worms. > > Thanks for the input! > At least it was premature to touch prink just for the sake of > collecting some particular crashes. > Perhaps we can revisit this topic when stronger arguments arise :) Sure :-) Best Regards, Petr