From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752388AbdC0SjK (ORCPT ); Mon, 27 Mar 2017 14:39:10 -0400 Received: from mail.kernel.org ([198.145.29.136]:51910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752297AbdC0SjA (ORCPT ); Mon, 27 Mar 2017 14:39:00 -0400 Date: Mon, 27 Mar 2017 15:38:39 -0300 From: Arnaldo Carvalho de Melo To: Tommi Rantala Cc: Peter Zijlstra , Ingo Molnar , Alexander Shishkin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] perf string handling fixes Message-ID: <20170327183839.GE27431@kernel.org> References: <20170322130624.21881-1-tommi.t.rantala@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170322130624.21881-1-tommi.t.rantala@nokia.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Mar 22, 2017 at 03:06:18PM +0200, Tommi Rantala escreveu: > Hi, > > Some small perf fixes, mostly caught with valgrind. > > The last patch is a simplification: it is easier to open /proc/self/exe > than /proc/$pid/exe. Thanks, applied the series. - Arnaldo > Tommi Rantala (6): > perf buildid: do not update SDT cache with null filename > perf buildid: do not assume that readlink() returns a null terminated > string > perf tests: do not assume that readlink() returns a null terminated > string > perf utils: use sizeof(buf)-1 in readlink() call > perf utils: null terminate buf in read_ftrace_printk() > perf utils: readlink /proc/self/exe to find the perf binary > > tools/perf/tests/sdt.c | 2 +- > tools/perf/util/build-id.c | 8 ++++++-- > tools/perf/util/header.c | 8 ++------ > tools/perf/util/trace-event-read.c | 4 +++- > 4 files changed, 12 insertions(+), 10 deletions(-) > > -- > 2.9.3