perf probe: Add argv_split() from lib/argv_split.c
[linux-2.6-block.git] / tools / perf / util / string.h
1 #ifndef __PERF_STRING_H_
2 #define __PERF_STRING_H_
3
4 #include "types.h"
5
6 int hex2u64(const char *ptr, u64 *val);
7 char *strxfrchar(char *s, char from, char to);
8 s64 perf_atoll(const char *str);
9 char **argv_split(const char *str, int *argcp);
10 void argv_free(char **argv);
11
12 #define _STR(x) #x
13 #define STR(x) _STR(x)
14
15 #endif /* __PERF_STRING_H */