aboutsummaryrefslogblamecommitdiffstats
path: root/tools/perf/util/string.h
blob: e50b07f80827b7d7d0cf3a35cb4fef444e033003 (plain) (tree)
1
2
3
4
5
6
7
8
9

                        
 
                  
 
                                       
                                              
                                
 


                      
                            
#ifndef __PERF_STRING_H_
#define __PERF_STRING_H_

#include "types.h"

int hex2u64(const char *ptr, u64 *val);
char *strxfrchar(char *s, char from, char to);
s64 perf_atoll(const char *str);

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

#endif /* __PERF_STRING_H */