Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp181516imm; Thu, 13 Sep 2018 18:25:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ2LYKAx7Sc1Uts7ku16caWQsMMm5BHWt2t6T8BcCW4m8FUt2g+mK6whQMEFVhI7g/Mb3vy X-Received: by 2002:a63:6b86:: with SMTP id g128-v6mr9260264pgc.344.1536888330447; Thu, 13 Sep 2018 18:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536888330; cv=none; d=google.com; s=arc-20160816; b=L2aXO4Yb5ttBjxYc4YIHzTE+3rRigIfcpGj4v/a74MLFT+FhA7eQt92X31dZNrXklC Cu7roZQfaxGzQL5mQ4KHJHX3vI3fAT2Q8lXU4Yq5lAZgFs443ERuAp+xUdPMK29Vq/CD tmn++mlg2bxyYZPhBE6vKbklNObGmhoJdc72KPZAyON/MUtAx+FNYMVhVKhUGN1viLwy sB8/vB/r3nyEk949BqLduXqhoKUVWjfsRQKimy1VA5yzkZ3YFEOG/Xedjysl5C+nBmfa FEUjKmJjMSpr5LFSuJRNfw2Zn3EDoowefQrhNdNweNSGrq5Ma6SxlXnm3CV+3uX3WpFv AI+A== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=h3AxwDbX4bPh4nvGYwHto6/cDVRRecuZ0C/ZkYof3eg=; b=N4veZYAtvf214ZNYw2CqVzezmElB0ayarj1bP/zj2uTHJv7Hwn2qgkE1AaZIG6qvSp 7+Fv62TQ8II0EpnXhBZNBqXUibNIF28ytAZAJkjsCNrAhQZxwP6PM6DkRW5HV4Oyq4rg ZTuK4qtTxwjZjswjAq/PVhZtQe8okwaLuti2iaLJHYp5l/x5tWm5lg+zpGKmSiszN2UQ p3T6Tp36/PyonihB6gIxaf9gC2HJTnrWHAkrPZSPAJgbkIVDvb9JMHfgbsghthNm9WOu pmvQ+QH9bBXxlv8qlSugbAmvVc0Bp/D4c4XjCktW6KYNuKHGZccuzT/ZmmMhxbv2gTeS xLsg== ARC-Authentication-Results: i=1; mx.google.com; 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 bh12-v6si5165714plb.425.2018.09.13.18.25.14; Thu, 13 Sep 2018 18:25:30 -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; 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 S1727822AbeINGel (ORCPT + 99 others); Fri, 14 Sep 2018 02:34:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:36260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726771AbeINGel (ORCPT ); Fri, 14 Sep 2018 02:34:41 -0400 Received: from vmware.local.home (unknown [206.121.37.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 84CED2086D; Fri, 14 Sep 2018 01:22:41 +0000 (UTC) Date: Thu, 13 Sep 2018 21:22:39 -0400 From: Steven Rostedt To: Sergey Senozhatsky Cc: Petr Mladek , Sergey Senozhatsky , Alexander Potapenko , Dmitriy Vyukov , penguin-kernel@i-love.sakura.ne.jp, kbuild test robot , syzkaller , LKML , Linus Torvalds , Andrew Morton Subject: Re: [PATCH] printk: inject caller information into the body of message Message-ID: <20180913212239.112ab10b@vmware.local.home> In-Reply-To: <20180913142802.GB517@tigerII.localdomain> References: <20180620091541.GB444@jagdpanzerIV> <20180620110759.GD444@jagdpanzerIV> <20180620130628.GA1000@tigerII.localdomain> <20180912065307.GA606@jagdpanzerIV> <20180912120548.4280f04a@vmware.local.home> <20180913071204.GA604@jagdpanzerIV> <20180913122625.6ieyexpcmlc5z2it@pathway.suse.cz> <20180913142802.GB517@tigerII.localdomain> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Sep 2018 23:28:02 +0900 Sergey Senozhatsky wrote: > Good call. It was a fast path for pr_cont("\n"). > But it made me wondering and I did some grepping > [..] > kernel/trace/ftrace.c: pr_cont("\n expected tramp: %lx\n", ip); Note, looking at the history of that, I was just combining a lone "\n" with the next string. The code before this print add info to the line depending on the input, thus none do a "\n". The "expected tramp" part is added to the next line, but I'm fine if you want to break this up. This print is very unlikely done with other prints happening. It happens when modifying (serially) ftrace nops to calls or back to nops. Feel free to send a patch that breaks it up into: pr_cont("\n"); pr_info(" expected tramp: %lx\n", ip); -- Steve