162306a36Sopenharmony_ciperf supports a simple JIT interface to resolve symbols for dynamic code generated
262306a36Sopenharmony_ciby a JIT.
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciThe JIT has to write a /tmp/perf-%d.map  (%d = pid of process) file
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciThis is a text file.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciEach line has the following format, fields separated with spaces:
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciSTART SIZE symbolname
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciSTART and SIZE are hex numbers without 0x.
1362306a36Sopenharmony_cisymbolname is the rest of the line, so it could contain special characters.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciThe ownership of the file has to match the process.
16