Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp203425pxb; Thu, 21 Jan 2021 05:18:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJztbYF87rynur4a9vOwqLCrXChai8b0WfH0nfO3VRY+xhvUsleiVxjTGYQYb/oLOv4Mb3G+ X-Received: by 2002:a17:906:2695:: with SMTP id t21mr9843168ejc.287.1611235103653; Thu, 21 Jan 2021 05:18:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611235103; cv=none; d=google.com; s=arc-20160816; b=SehS2UTM/oJIlX1zuW0/bC/gCMIFnKoIoZTEgWPzdNR4PdmFm3e/eXFWkf34GZHi88 BSQN1xjJ08EqwWSVW0SEcEfh1VJ6XDYbcc2f8ddaBSZsWNtqIFVwsFpMeE8oNJToFmcC hnWxMr1SZYtH4n4eZ4zwfx2AaiyA01+GjV6/vm/0bmCnTUpWu70kUo060BzFj92+TIiL SCMKX+UH2N3ZFDpvW0ocnuYTjNC8YapIQ0RPbnSQMlVsw4FzZuDXaiFkxolWSe/t0cFa M28l3yeIS6MS+bH75vMXo5LK9QRI9pEa6wPoTAVbdJvplSnyWw29lhUz/6ivojYBWztH Z1Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=YLF2LgcHZ5DDqDazshlamJH0LMkuaN2/iqWq+I3Vnnk=; b=KdQwcsmos3pB73+dorJnt8yGwTiO5JA4Z2MSDChgUvWDyylNkAggsQ5RRBy3gCu2Mu QlyLU9QVLI6BNz1gQJHPd66+8lhlVIULN52VelrbHbjrfVzXm93uWivvJbpZkKLbP3OR VJKb4+WZADrmxWunDsf7NJf65nUcnwPPt+HgTDy3Y3H/8WJxq5erxjhqav9wx9ydZ/mW 0RxXp4Y4c6Yr9rS1iqXGlZiJ9RFQY9vXa6iDnLvHN2cyPnAVcFQOGLVbjWoM1Ku0UwaX xfOXEk7DtvI8F4idRV9I6O7uKtn/RQEjeVfENGZGjgU62GJARItUV6W/OF5EKOqRaatM gtbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cd9OxPlR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bz4si1747204ejc.132.2021.01.21.05.17.59; Thu, 21 Jan 2021 05:18:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cd9OxPlR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731620AbhAUNPp (ORCPT + 99 others); Thu, 21 Jan 2021 08:15:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731671AbhAUNOh (ORCPT ); Thu, 21 Jan 2021 08:14:37 -0500 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 520C7C061575 for ; Thu, 21 Jan 2021 05:13:57 -0800 (PST) Received: by mail-qt1-x832.google.com with SMTP id j26so1420996qtq.8 for ; Thu, 21 Jan 2021 05:13:57 -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; bh=YLF2LgcHZ5DDqDazshlamJH0LMkuaN2/iqWq+I3Vnnk=; b=cd9OxPlRA3NGn6WxwIGITPEw7+UzXHbPgSZU/5BS7jYp6BYL0OXp2IyBcPE6JlRpf1 qWDMHdUT2jnZQnGdHaPnkc+I7eMBR9eTp3kfSzZtu055dKw9spDa2ZDP0uXoNDzFsom9 zzc6Hre3OhsWYZwtNXkoYdBp/s8fVbH1YzQsPY0DVSabehP7mi351ECC0SCpkdOVwPZE C3WUKW681ZruaNvJP88MT5OHC0u9XYDSrvP/7ZCPbmzXapinmW2lOqyYpivm3NjCDcNO uz2swXoEDM6VgsNTwcWQRwOSHRvi8AW/zhP2z3q9LDeDUHX/NrGSDGNDkOVumnHum+U8 I7xA== 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=YLF2LgcHZ5DDqDazshlamJH0LMkuaN2/iqWq+I3Vnnk=; b=USKb11qh0jEgHvdCZ793kDGukfymxWYNJVskpR6+uDBl0C+iofgb5OUnAqFJ9hLzD9 RKISADg9Vbcm7RPn07JpF3/Rr6/BN0QPwAHviJ5Lnd8/8ymSFk50kVsrQu8WcjERX8Zt oB9Dkw+3OUhwwMus8aAUdhnp/+hVAj4hd3AloTqJXP0qH1DmLxr0fALYZWliUm0WBPCC BK2NZDXgjXdAcYWGxyawwunY6vzgtqqFz9oYMBV/vS+Vgle3usQcw4I+BpCOrZfJ+JKA VDavO/OKAXk46+WK505BmNc94RSZkmOWuUl0rqqBriC7g2uy7DH3E2Oj75Cb1LJOYIpM szHQ== X-Gm-Message-State: AOAM533dL2tl5h0ps12BncFgNk40FSAoC3GioBkFP49JKF7ioeFmN+ij SbnTdMUZOv52ko7MzjpSASub7CeMaVk4OkMRcpMobg== X-Received: by 2002:ac8:7111:: with SMTP id z17mr13542060qto.369.1611234836264; Thu, 21 Jan 2021 05:13:56 -0800 (PST) MIME-Version: 1.0 References: <20210115130336.2520663-1-glider@google.com> <20210115130336.2520663-3-glider@google.com> In-Reply-To: From: Alexander Potapenko Date: Thu, 21 Jan 2021 14:13:43 +0100 Message-ID: Subject: Re: [PATCH v2 2/5] lib: add error_report_notify to collect debugging tools' reports To: Petr Mladek , Andrew Morton , Steven Rostedt , Greg Kroah-Hartman Cc: LKML , Andrey Konovalov , Dmitriy Vyukov , Ingo Molnar , Marco Elver , Sergey Senozhatsky , Linux Memory Management List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thank you all for the comments! Since concerns have been raised that another error reporting system may quickly go out of control, we've decided to not pursue this solution any further. Instead, we will try to rely on existing ftrace mechanisms to deliver notifications to the userspace, and perform dmesg collection/parsing once a notification is received. As a result, we won't need the error_report_start tracepoint anytime soon (I didn't rename error_report_end to something like error_report anticipating that error_report_start may be needed in the future). I've also dropped the error_report_notify library and the corresponding documentation from the patchset.