[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170322130624.21881-1-tommi.t.rantala@nokia.com>
Date: Wed, 22 Mar 2017 15:06:18 +0200
From: Tommi Rantala <tommi.t.rantala@...ia.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>
CC: <linux-kernel@...r.kernel.org>,
Tommi Rantala <tommi.t.rantala@...ia.com>
Subject: [PATCH 0/6] perf string handling fixes
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.
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
Powered by blists - more mailing lists