Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,294 of 4,675    |
|    Terje Mathisen to Frank Tetzel    |
|    Re: profiling just-in-time assembled cod    |
|    04 Mar 18 20:26:22    |
      From: terje.mathisen@nospicedham.tmsw.no              Frank Tetzel wrote:       > Hi,       >       > has anybody here ever used a just-in-time assembler like asmjit[1] and       > tried to profile the jitted code?       >       > When I use perf record/report on linux I cannot zoom into the jitted       > code and get an annotated view of the disassembled code like one gets       > for other code segments. I only get the percentage of time spend in the       > memory page where the code was written to. That is not really helpful.       >       > Does somebody know a solution to this?       >       > Best regards,       > Frank       >       > [1] https://github.com/asmjit/asmjit       >       An indirect approach would be to dump the JITted code, and then convert       each snipped to a static library function which you can then link into a       benchmark program.              Terje              --       - |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca