Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756348AbdDEXxs (ORCPT ); Wed, 5 Apr 2017 19:53:48 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:47656 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753801AbdDEXxh (ORCPT ); Wed, 5 Apr 2017 19:53:37 -0400 Authentication-Results: goodmis.org; dkim=none (message not signed) header.d=none;goodmis.org; dmarc=none action=none header.from=fb.com; Date: Wed, 5 Apr 2017 16:53:04 -0700 From: Calvin Owens To: Steven Rostedt CC: Sergey Senozhatsky , Petr Mladek , Greg Kroah-Hartman , "Jiri Slaby" , Andrew Morton , Manuel =?utf-8?Q?Sch=C3=B6lling?= , Hans de Goede , Paul Burton , , , Sergey Senozhatsky Subject: Re: [RFC][PATCH 1/2] printk: Introduce per-console filtering of messages by loglevel Message-ID: <20170405235304.unuljlwluw7wzktf@Haydn> References: <20170405020800.GB11669@jagdpanzerIV.localdomain> <20170405021628.GC11669@jagdpanzerIV.localdomain> <20170404232715.4633acc1@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <20170404232715.4633acc1@gandalf.local.home> User-Agent: NeoMutt/20170306 (1.8.0) X-Originating-IP: [2620:10d:c090:200::e:2533] X-ClientProxiedBy: BN6PR03CA0024.namprd03.prod.outlook.com (10.168.230.162) To DM5PR15MB1225.namprd15.prod.outlook.com (10.173.209.19) X-MS-Office365-Filtering-Correlation-Id: ce758b5f-722f-42e6-a0c4-08d47c7eeda9 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:DM5PR15MB1225; X-Microsoft-Exchange-Diagnostics: 1;DM5PR15MB1225;3:alMEyRCijkk4fZxenE1grgKvzvMuRSbsn0n6YbjEs3fzu24lEQ9iL6esZs/I9YRP5jl4c5YVsW9cKWmlY/WKZpa5cjK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ixZXNS03foy70TvYG23iaOEUu/UeCxI/9lL+JZ4zrWmPOp8NkdG0TB67f4f5+WKTauy+vDlf02gHwap8kUzlJdO/oxhfF7+XkM3lBO297XsgnnWDRjmWzTRBCNresOEDhL6EUqC+hWwkUJ5KoyABhVO8qoR87QE8+5F/zBG99yZ5spnPZaM4I3FVF5uQt8ObgV2xIqX9KLYDJehI0ajkYo1Xh155kWD9GnDMvnTawOAUO/ATvFIWl+1PnGyzqG6LQNO59VeyiGc22G3BPBygz3NBzDrDWZyhY0XF7xEmxoDw6i+heyouoLf4n8P0+x1TNisW9gwCv+9L7c/1x+AKDttu9jFchEZUwvxglShXLtscUjvYSXfYl+QW+AfmQ7JeeXQBOhERFMDJHjnQ3k1/+fnM0qEZmLzMFOoiYUnzzxguYW7gDxNuZhzQjTux/y9tMGRyynPrduD X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123560025)(20161123555025)(6072148);SRVR:DM5PR15MB1225;BCL:0;PCL:0;RULEID:;SRVR:DM5PR15MB1225; X-Microsoft-Exchange-Diagnostics: 1;DM5PR15MB1225;4:Nz1weR8VDiXWXE/BTrVuSsW6WfAq7rZFKho0Y9WGc+T0pf/puCV3o50aBftmspLPVcsQZpSlBn+7PG+kxiopvu8aX5KbzUY9MyYmLtHLL0pPsb0rn/oqKhu47/BnPdXZHxSKqiYtXOjpRxB38GKQhDyV7odEzk2vo4f4gZwYGeXZSpbMdLhY1cSkDKgC+3axHh3ZuIx40Ylp0StPYR3pVi3vbP174c/MsJN1oThTu3u9yj02QSumwJY5WDEMK9ELoWqE3muO1uWj4DDbKby8ArfAt3TpVA1iCGKav4A5bpui8Aava2l7k156wTUccR8Gz9hE33E6zs60QMQ8/x2ILIFnLtXyW+gUAzIdihSHto+2rA2Nb2GirJTqK3IsYZp+ITQUjosVCpEBc0QXnKWzYr5fWNqtKNPXT/A912Oc1Ikj7T4x2imFUJLGcQujoz4kcoMKKDUfmIErOGfVxDX5A4e9Gfvfv6wypTSJw+eTjlWRqok6CVMjzuRgk/DvM92YciCttygbN6PGzR7d4mPUjwh7qPKcM8imMlC/o5b2v3DeCG6Oa+MqRk65kalpQ0QUKittd+x+uOGu625AGh9worbveq4iQ5iGPoSiyQW3R70su6LQUD8WgbPwGck9jwmfTEgiCwxhbDICdA7+/VEQeI6tGHfQEPafhHRP0PHkjA8/8PTkiIvPPzrxrGsqiGmVuKmhldZdYZ79hedpu84+HA== X-Forefront-PRVS: 0268246AE7 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(39410400002)(39400400002)(39850400002)(39840400002)(39450400003)(24454002)(2906002)(4326008)(6116002)(6916009)(81166006)(53936002)(2950100002)(38730400002)(6246003)(6496005)(23676002)(110136004)(8676002)(229853002)(83506001)(15650500001)(9686003)(189998001)(6666003)(55016002)(54906002)(4001350100001)(25786009)(8666007)(33716001)(305945005)(7736002)(7416002)(5660300001)(50986999)(50466002)(54356999)(1076002)(47776003)(76176999)(93886004)(42186005)(33646002)(86362001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR15MB1225;H:Haydn;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjE1TUIxMjI1OzIzOmgvWHhEOFAzd2tOeGhub3BZV3oxdkVNS2dq?= =?utf-8?B?QXdRK1ZZQkEwSXN6U3hJWUFKTVRQNUljYmkwc0hiZnpLSFZXZlY2RXQ2SEJO?= =?utf-8?B?OTc4MmJvNGNVRmdKR1NSWmk0b0VvR3JVaTF1OTMzd2JoOGtzcytjNXBQWFRY?= =?utf-8?B?SWZkSmtHWkw0anJXQVVxTVdkR0YwSlVJM1ZDa0taYzROY1FDZWhQekRLbjRo?=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CRPPh0YgvKLA21kzVWYKyDf2Lv1kDtwEdTV8y7+NFcoKLe6tW/qreDgiqg4CMxCtAKpB6kwd3y7sqI4hBObsFeqJxhLsi00oSv8B9s5A==;24:GP9GhrIHJEPsibHeCdaKgcPul+wI0Sznk6dvWvbSt463ZH0YkhWOLW9nYcmTDbRlyYurqmUBpCcVioAi9gS1eI1XVvCj/uSGyAHGIt1mNaY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM5PR15MB1225;7:oPAhn8CfWLJ0plXWM0WrUTGr+MLEiELj2tku47YnbpZZHp1bAcGOXUs9MGlkDKLBHkItBYxcRTSvLzEMRakkd+GYYviJ4V3njD4IW2VORc0Z9JJzjTgV0Kvz2/4TtBxDyr1cwjFJMKqBKzyhazc9OdKB3cGx1/64vOsLUDOsL1meBBT+FSs1qkYuBS7C5GgNWDYXIpYoytRXixSxo8TdcoxFu+bsR7d0kkzTRuEYuhGUzwLJ7boVKsRWfK7anFo3Le6o+ris4w7hhVkVTZ8xUbxcdMnX346U42UBrcfjKb4GVYv4kqupI9cjJTo+t6xt0lgkzplEDtwBPPMhtr1Q0A==;20:D4ANh5bP8cQ+nMv1K6TR1nT3Sfkqaa8HOzFGN9xHW1FrJrbn6tnHM5GVPgoMUkx3N8u1DrHQDB4YjP4+WZQc4SJhH7ANneMI8ojr1T7GHEswaHPb9gWiLPmfDuV4LJ6wcmIyMqYxllW/ZI1y+zYupfXJnMFk5JrVc6Kr+hFH3M4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2017 23:53:13.9625 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR15MB1225 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-04-05_17:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 28 On Tuesday 04/04 at 23:27 -0400, Steven Rostedt wrote: > On Wed, 5 Apr 2017 11:16:28 +0900 > Sergey Senozhatsky wrote: > > > > one more thing. > > > > this per-console filtering ignores... the "ignore_loglevel" param. > > > > early_param("ignore_loglevel", ignore_loglevel_setup); > > module_param(ignore_loglevel, bool, S_IRUGO | S_IWUSR); > > MODULE_PARM_DESC(ignore_loglevel, > > "ignore loglevel setting (prints all kernel messages to the console)"); > > > > > > my preference would be preserve "ignore_loglevel" behaviour. if > > we are forced to 'ignore all loglevel filtering' then we should > > do so. > > Agreed. Makes sense, I'll add then when I resend. Thanks, Calvin > -- Steve >