string.h 264 B

12345678910111213
  1. #ifndef __PERF_STRING_H_
  2. #define __PERF_STRING_H_
  3. #include "types.h"
  4. int hex2u64(const char *ptr, u64 *val);
  5. char *strxfrchar(char *s, char from, char to);
  6. s64 perf_atoll(const char *str);
  7. #define _STR(x) #x
  8. #define STR(x) _STR(x)
  9. #endif /* __PERF_STRING_H */