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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 EF1DCC433DB for ; Fri, 22 Jan 2021 08:42:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 67ACE235F9 for ; Fri, 22 Jan 2021 08:42:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 67ACE235F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B64926B000C; Fri, 22 Jan 2021 03:42:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B3C716B000D; Fri, 22 Jan 2021 03:42:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A038F6B000E; Fri, 22 Jan 2021 03:42:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0220.hostedemail.com [216.40.44.220]) by kanga.kvack.org (Postfix) with ESMTP id 878EA6B000C for ; Fri, 22 Jan 2021 03:42:07 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 48A7B1730842 for ; Fri, 22 Jan 2021 08:42:07 +0000 (UTC) X-FDA: 77732768694.28.night40_4d039f72756a Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin28.hostedemail.com (Postfix) with ESMTP id 1CF976D6E for ; Fri, 22 Jan 2021 08:42:07 +0000 (UTC) X-HE-Tag: night40_4d039f72756a X-Filterd-Recvd-Size: 4466 Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Fri, 22 Jan 2021 08:42:06 +0000 (UTC) Received: by mail-qt1-f177.google.com with SMTP id e17so3585668qto.3 for ; Fri, 22 Jan 2021 00:42:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=IwufWQ/zvEgRChsZ+HKILdbN9V3aUSKcwTaTDvvOms8=; b=MdaiekH8+YWtYVJ8wdxCP2MhKco1BL/M2GSfJG3wqtKGTp9Ytszw282P+VJemlJR/I 32ZFRGuj09mkf+Kc4c+DMAtVtsQCRw9P3STL0Ml9qZ/+FGcOC7m6k+7ff3z9c9+yz4lY xnat8CnLxHr+UeSrFH5Vst9nSJ6RzZ02yYd8ohDExJjPJ7M7gSIdrxW5+g9POXJq7INg PJM3R40ds7WtePNuEeWTo1pzwF5qOkIDYqjD6OwC1nGdfnVn1pxEViSJdFOULLJGpdPX uQEES2lAaHi1iXGbYqm3O8bMAsBvDvyBipOQRvgTFJG+bnN2vlvUoG4nV//9kwYAyMXV lgJQ== 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:content-transfer-encoding; bh=IwufWQ/zvEgRChsZ+HKILdbN9V3aUSKcwTaTDvvOms8=; b=DUwaQNfr2P9njKQHarF3kMb1QV36CBrCjNuO7595bPut+R0Qt/HAQ8qIMgk/RCQjvj ISHlrx9k23IsxZKsCrSMY+UswjCjZWG3hvVZ6bMeHqNoLA13SmJwLeN1AuiryFKF8E4O Sa+4Bm7Vyba4E5tyezHSG2FInBGcVXFjbu3HyI8EUGS6n1SofYa20zVQRj3b5LESU9wK dyj8WQJjqULK3kgRJK+GVcwsJ+e3RuybL2Julaolf/vfVWwaLBRy0vCQ1TIT/mmTZuck gH9fc/KIiFKuZB6kWGvxwwotKqs0iPKaCFOIw2ItHp5gyT/cH3lRLwP6ETTPE5UsY8D4 RL1A== X-Gm-Message-State: AOAM531FMSQ65sR5inFDUK98VZRIz8fi4HP0XBIPk/1yyOGOZdQ4Y6BZ E4tQ18ujSeuntGOjJNzDbfH9iYRl6iyU5Lp+3MIHjg== X-Google-Smtp-Source: ABdhPJxapOVrvoj1KQompPgQdxxvfcXyxQBZIVC5e8ONa1BRE4MJqWv0ZyxmRs0lkc5ni4Ja3WVGNzlxjB9BJJhYTJ0= X-Received: by 2002:ac8:6cf:: with SMTP id j15mr3284560qth.180.1611304925724; Fri, 22 Jan 2021 00:42:05 -0800 (PST) MIME-Version: 1.0 References: <20210121131915.1331302-1-glider@google.com> In-Reply-To: From: Alexander Potapenko Date: Fri, 22 Jan 2021 09:41:54 +0100 Message-ID: Subject: Re: [PATCH v3 0/3] Add error_report_end tracepoint to KFENCE and KASAN To: Petr Mladek 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, 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 :) > I do not feel eligible to add any tag. I am neither familiar > with the tracepoint nor the KFENCE or KASAN code. > > Best Regards, > Petr --=20 Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Stra=C3=9Fe, 33 80636 M=C3=BCnchen Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg