lkml.org 
[lkml]   [2020]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH 0/2] Improvements for kallsyms__parse
From
kallsyms__parse is called 4 times during perf record startup. Add a
benchmark to measure its performance. Transition it to using the api
io.h buffered reading, improving performance by ~8% or saving ~5% from
perf record start up time.

Ian Rogers (2):
perf bench: add kallsyms parsing
lib kallsyms: parse using io api

tools/lib/api/io.h | 3 ++
tools/lib/symbol/kallsyms.c | 81 +++++++++++++++++++------------------
tools/perf/bench/Build | 1 +
tools/perf/bench/bench.h | 1 +
tools/perf/builtin-bench.c | 1 +
5 files changed, 47 insertions(+), 40 deletions(-)

--
2.26.2.526.g744177e7f7-goog

\
 
 \ /
  Last update: 2020-04-30 21:38    [W:2.013 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site