summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/string.h
blob: 15c827475e7d20cfc069244ab991cac3b7b32232 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __PERF_STRING_H_
#define __PERF_STRING_H_

#include "types.h"

int hex2u64(const char *ptr, u64 *val);

#define _STR(x) #x
#define STR(x) _STR(x)

#endif /* __PERF_STRING_H */