summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/string.h
blob: bf39dfadfd24dd00fe845f1c321bf0994ad768b0 (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
OpenPOWER on IntegriCloud