From patchwork Wed Sep 24 18:17:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatol Pomozov X-Patchwork-Id: 4969251 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 534C9BEEA5 for ; Wed, 24 Sep 2014 18:17:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BA33E20265 for ; Wed, 24 Sep 2014 18:17:48 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 19F4420115 for ; Wed, 24 Sep 2014 18:17:47 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 1AA42264FEB; Wed, 24 Sep 2014 20:17:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM, NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D1CB72625EF; Wed, 24 Sep 2014 20:17:34 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id D23F9264E9F; Wed, 24 Sep 2014 20:17:33 +0200 (CEST) Received: from mail-oi0-f73.google.com (mail-oi0-f73.google.com [209.85.218.73]) by alsa0.perex.cz (Postfix) with ESMTP id C37C6261B25 for ; Wed, 24 Sep 2014 20:17:26 +0200 (CEST) Received: by mail-oi0-f73.google.com with SMTP id u20so1930174oif.4 for ; Wed, 24 Sep 2014 11:17:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WEpKFRe5gQy23ewHi0IZ8PS/Bdjx0Wi1JKlQSXHjuRg=; b=WVyLrm8vJoXRIA0KJwcjnhCp4CUHw149uJjmpI+1uEL4qUbe09logaPDzyNdQOXpvi rjJ0Raz4IApWYx0FtrkQHPxxz+gOJi3Thia+GsUxzXEq2MwJwHehltfDfhWnSHxr1Aj5 Bi/uRAqeIT5uCI3A5d816JAMYi/SVDC3dx2SomfsumftEEE1dicmV/PS5OnB8ymqAvzb D3r9UXq2Y3hqq3NTjxGXERB+uO2z61a3t2yB9KRkGiGvTQOWs7zvrnY5fcIGVGp6pvd6 Lb7n3a6AAlIpHLr1Vsru9KQLe050tBWKQ9WjaBn9DLGqblsRGhFOIgUCxOogk9MNTz5C d8fg== X-Gm-Message-State: ALoCoQnE8FzOSFiyjCC73/hQotaIYr0Zvu0OI29G+jzaKUVi5j5qjVvmhxyP0Iyz79g0925rh+BrmMnxEwzPNpKv6wLZP5XqZjhpFFvXJu1T62k4C4jWzGRYGvhXnCa3cr6lMn8ffu8wRV1xocbH0WVAG9dPmWkMBmGDlj4POtHxeXUtSb4b+wk= X-Received: by 10.182.191.36 with SMTP id gv4mr5946840obc.50.1411582645326; Wed, 24 Sep 2014 11:17:25 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id e24si2296yhe.3.2014.09.24.11.17.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Sep 2014 11:17:25 -0700 (PDT) Received: from anatol.mtv.corp.google.com ([172.22.64.197]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id P3hL3GKH.1; Wed, 24 Sep 2014 11:17:25 -0700 Received: by anatol.mtv.corp.google.com (Postfix, from userid 67983) id 690EF10034C; Wed, 24 Sep 2014 11:17:24 -0700 (PDT) From: Anatol Pomozov To: broonie@kernel.org Date: Wed, 24 Sep 2014 11:17:14 -0700 Message-Id: <1411582634-40122-1-git-send-email-anatol.pomozov@gmail.com> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 Cc: alsa-devel@alsa-project.org, Anatol Pomozov Subject: [alsa-devel] [PATCH] ASoC: trace: Remove trailing new-lines in trace messages X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP These new-lines add empty lines to trace output Signed-off-by: Anatol Pomozov --- include/trace/events/asoc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 0194a64..b04ee7e 100644 --- a/include/trace/events/asoc.h +++ b/include/trace/events/asoc.h @@ -175,7 +175,7 @@ TRACE_EVENT(snd_soc_dapm_output_path, __entry->path_sink = (long)path->sink; ), - TP_printk("%c%s -> %s -> %s\n", + TP_printk("%c%s -> %s -> %s", (int) __entry->path_sink && (int) __entry->path_connect ? '*' : ' ', __get_str(wname), __get_str(pname), __get_str(psname)) @@ -204,7 +204,7 @@ TRACE_EVENT(snd_soc_dapm_input_path, __entry->path_source = (long)path->source; ), - TP_printk("%c%s <- %s <- %s\n", + TP_printk("%c%s <- %s <- %s", (int) __entry->path_source && (int) __entry->path_connect ? '*' : ' ', __get_str(wname), __get_str(pname), __get_str(psname)) @@ -226,7 +226,7 @@ TRACE_EVENT(snd_soc_dapm_connected, __entry->stream = stream; ), - TP_printk("%s: found %d paths\n", + TP_printk("%s: found %d paths", __entry->stream ? "capture" : "playback", __entry->paths) );