1*0fe7d7e9SAndi Kleenperf supports a simple JIT interface to resolve symbols for dynamic code generated 2*0fe7d7e9SAndi Kleenby a JIT. 3*0fe7d7e9SAndi Kleen 4*0fe7d7e9SAndi KleenThe JIT has to write a /tmp/perf-%d.map (%d = pid of process) file 5*0fe7d7e9SAndi Kleen 6*0fe7d7e9SAndi KleenThis is a text file. 7*0fe7d7e9SAndi Kleen 8*0fe7d7e9SAndi KleenEach line has the following format, fields separated with spaces: 9*0fe7d7e9SAndi Kleen 10*0fe7d7e9SAndi KleenSTART SIZE symbolname 11*0fe7d7e9SAndi Kleen 12*0fe7d7e9SAndi KleenSTART and SIZE are hex numbers without 0x. 13*0fe7d7e9SAndi Kleensymbolname is the rest of the line, so it could contain special characters. 14*0fe7d7e9SAndi Kleen 15*0fe7d7e9SAndi KleenThe ownership of the file has to match the process. 16