Files
linux-apfs/tools/perf/util/string.h
T

18 lines
415 B
C
Raw Normal View History

#ifndef __PERF_STRING_H_
#define __PERF_STRING_H_
2009-06-01 22:31:03 -03:00
#include <stdbool.h>
2009-06-25 17:05:54 +02:00
#include "types.h"
2009-06-01 22:31:03 -03:00
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);
bool strglobmatch(const char *str, const char *pat);
2009-06-01 22:31:03 -03:00
2009-07-21 14:16:29 -04:00
#define _STR(x) #x
#define STR(x) _STR(x)
#endif /* __PERF_STRING_H */