summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/string.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2010-03-25 23:59:00 +0100
committerIngo Molnar2010-03-26 08:52:59 +0100
commit5aab621b7bf024608f0c089e21656e7fe875a150 (patch)
tree5fd0da72082d4a60e0d05c727411cd089250d3a3 /tools/perf/util/string.h
parentperf tools: Move __used from perf.h to linux/compiler.h (diff)
downloadkernel-qcow2-linux-5aab621b7bf024608f0c089e21656e7fe875a150.tar.gz
kernel-qcow2-linux-5aab621b7bf024608f0c089e21656e7fe875a150.tar.xz
kernel-qcow2-linux-5aab621b7bf024608f0c089e21656e7fe875a150.zip
perf symbols: Move hex2u64 and strxfrchar to symbol.c
Mostly used in symbol.c so move them there to reduce the number of files needed to use the symbol system. Also do some header adjustments with the same intent. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1269557941-15617-5-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/string.h')
-rw-r--r--tools/perf/util/string.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/string.h b/tools/perf/util/string.h
index 542e44de3719..700582416664 100644
--- a/tools/perf/util/string.h
+++ b/tools/perf/util/string.h
@@ -4,8 +4,6 @@
#include <stdbool.h>
#include "types.h"
-int hex2u64(const char *ptr, u64 *val);
-char *strxfrchar(char *s, char from, char to);
s64 perf_atoll(const char *str);
char **argv_split(const char *str, int *argcp);
void argv_free(char **argv);