From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3C9DC1A119C for ; Thu, 28 May 2015 21:32:26 +1000 (AEST) Date: Thu, 28 May 2015 13:32:14 +0200 From: Peter Zijlstra To: Madhavan Srinivasan Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Ingo Molnar , Jiri Olsa , Sukadev Bhattiprolu , Michael Ellerman Subject: Re: [PATCH]perf/core: remove newline char in perf_event_sysfs_show Message-ID: <20150528113214.GF3644@twins.programming.kicks-ass.net> References: <1432805366-15854-1-git-send-email-maddy@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1432805366-15854-1-git-send-email-maddy@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, May 28, 2015 at 02:59:26PM +0530, Madhavan Srinivasan wrote: > When a event also carries a event.unit file, having newline char > will make perf userspace tool to print the event name in > the next line when dumping counter data. And changing the kernel will break the API (it includes a '\n' now) so fix the tool.