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>
17 lines
381 B
C
17 lines
381 B
C
#ifndef __PERF_STRING_H_
|
|
#define __PERF_STRING_H_
|
|
|
|
#include <stdbool.h>
|
|
#include "types.h"
|
|
|
|
s64 perf_atoll(const char *str);
|
|
char **argv_split(const char *str, int *argcp);
|
|
void argv_free(char **argv);
|
|
bool strglobmatch(const char *str, const char *pat);
|
|
bool strlazymatch(const char *str, const char *pat);
|
|
|
|
#define _STR(x) #x
|
|
#define STR(x) _STR(x)
|
|
|
|
#endif /* __PERF_STRING_H */
|