Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5283499imm; Tue, 26 Jun 2018 08:44:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJsuwvn3Ngrj+EAfNw/bj2//0R3sxkvTozue+Db/SlLWVYgS7lrLzgN4nxwp2o98+nSTYvi X-Received: by 2002:a17:902:c3:: with SMTP id a61-v6mr2195216pla.149.1530027845053; Tue, 26 Jun 2018 08:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530027845; cv=none; d=google.com; s=arc-20160816; b=UZFqPr2sOp9MbC3jvkSgSG7heTB7kLaVL+lutJ7zdS/1FWuvpDKPPPYC1zJS7A3c1C i/71AkCAUhbyV4FCadwWTHjtScouX9vAQclIr1D6cbn2fkRA+dvqxf7hBqnxkaYW5DNF VbKdd4hcL/QIRTFMe3E5s1Pv9GN9QNQST8EBXN4qjbqWwRFW6A2v/kPqulAV0IliUgR/ cSx08ynIfdnDIMtujVASglzVNDKv5LMzZONdRCkPd8OZBZEQF2V6pnJRsIc62G2rSlzR KiU7Iv1RrnYcYNz1tyqhwC4Ade2y9xa98CR5FauPUrbrC3WM+DAMl/DwobDD3sG72S5a MTsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=CAMDvdgdNilVY/txWT9wf6FL6Xx1JfGsdnmr7yRvA2g=; b=Ug4cgxJ9QVR1DBr8sJbG9IeWfaWUP7/WQ9+eHOsioPblwO/x4SghCEnYq7Vo6n5Hec pueOTFzfH1HrZ7NGExKLetnmf+qX8rU8lXM7eUbV65uwq0Fz9D7gOvHXxyRKmE/fyNp3 e0ZrKWSPxUE5haxXk9kgcgsjSeNMtNj0fErRKTNmpRSdxtx7ntzAEpWNzYRnx+vkGqQp mGuikMnV5JQ8237lCDdG6zvKptpXBv+l91gqapcfAXXVJxkrkRmcPzfFDq/KV5ocPs3Z 7YNv4Rq7ewgnCTJ/ef4UPTsHCGzlhwLiYZ1QtVSb/tL8HRw+VGd3rNZBZ6OXvz/ZCyq7 jjqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=KvxV0grZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n26-v6si1799997pfe.60.2018.06.26.08.43.50; Tue, 26 Jun 2018 08:44:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=KvxV0grZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752292AbeFZPmI (ORCPT + 99 others); Tue, 26 Jun 2018 11:42:08 -0400 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:13017 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbeFZPmG (ORCPT ); Tue, 26 Jun 2018 11:42:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1530027728; x=1561563728; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=HPJ+Yrg+nBnyP/+xbx/1BogRAhkUGB334M3i+xP0kLk=; b=KvxV0grZxN5IgzdjgzZ4ByTYekyvYfd8tUiIB2XinNIK0BVnJwJgr39s /RWPBlgHhuXUCGTPQh620NwKBCELq344/96qVndamFYsAN/bhNLEgTQfY oxxZXUUHrdQMp7cO9h7Ox6AP5fG3Nx1Be61uMObfF7py1kBLnVQfLrVqz MSr4aq2LrVhbz5uXaYVhlfOkp229VaDbFBmroJrqVvMIlESCp7yqYVuk2 XGUA2u1xVS3/EiebfoTrshivFjDb59ohJKb/vVPD32096M0V9unYZYBpA LwKtqHCa/D0Z39vHIl6jM1Wb6AVXwxsKxpGChQ02E4BqfHftRjxnWB7eq Q==; X-IronPort-AV: E=Sophos;i="5.51,274,1526313600"; d="scan'208";a="83130648" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 26 Jun 2018 23:42:07 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 26 Jun 2018 08:31:41 -0700 Received: from thinkpad-bart.sdcorp.global.sandisk.com (HELO [10.111.67.248]) ([10.111.67.248]) by uls-op-cesaip01.wdc.com with ESMTP; 26 Jun 2018 08:42:07 -0700 Subject: Re: Tracing to console To: "rostedt@goodmis.org" Cc: "linux-kernel@vger.kernel.org" , "mingo@redhat.com" References: <08fe327a686f590008de3d6f43c880c655c648c2.camel@wdc.com> From: Bart Van Assche Message-ID: <351b4a0d-b66d-b32c-2066-b638a566de64@wdc.com> Date: Tue, 26 Jun 2018 08:42:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <08fe327a686f590008de3d6f43c880c655c648c2.camel@wdc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Steven and Ingo, Did I report this observation to the right people? Thank you, Bart. On 06/15/18 14:01, Bart Van Assche wrote: > Hello Steven, > > If I run the following commands as root: > > cd /sys/kernel/debug/tracing > grep pm_ available_events > set_event > echo function >current_tracer > grep scsi_ available_filter_functions | while read a b; do echo $a; done >set_ftrace_filter > echo 1 >events/printk/enable > echo 1 >tracing_on > echo 1 >/proc/sys/kernel/tracepoint_printk > echo - - - >/sys/class/scsi_host/host0/scan > > then the following appears on the console: > > console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: console: console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: console: console: console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > console: console: console: console: console: console: console: console: console: console: console: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > [ ... ] > > I assume that the repeated "console: " prefix is a bug and also that the same > line repeats over and over again is also a bug? I ran into this with commit > 017b3f8a10ca ("scsi: snic: fix a couple of spelling mistakes: "COMPLETE"").