lkml.org 
[lkml]   [2014]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4 v2] perf: Make some functions generic
Date
This patch just converts some private functions into global ones
that can be used by other tools like the c2c tool I am trying to merge.

Don Zickus (4):
perf: Allow ability to map cpus to nodes easily
perf: Use cpu/possible instead of cpu/kernel_max
perf, kmem: Utilize the new generic cpunode_map
perf, callchain: Add generic report parse callchain callback function

tools/perf/builtin-kmem.c | 78 +----------------------
tools/perf/builtin-report.c | 81 +-----------------------
tools/perf/util/callchain.c | 82 ++++++++++++++++++++++++
tools/perf/util/callchain.h | 1 +
tools/perf/util/cpumap.c | 149 ++++++++++++++++++++++++++++++++++++++++++++
tools/perf/util/cpumap.h | 35 +++++++++++
6 files changed, 273 insertions(+), 153 deletions(-)

--
1.7.11.7



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