Xuhpclab / DrCCTProf

DrCCTProf is a fine-grained call path profiling framework for binaries running on ARM and X86 architectures.
MIT License
117 stars 37 forks source link

Add DrCCTLib Instruction Analysis Tool #33

Open jsalzbergedu opened 4 years ago

jsalzbergedu commented 4 years ago

I have completed a tool that, in a similar format to drcctlib_instr_statistics, analyzes each instruction in each calling context and categorizes the instructions into groups of memory loads, memory stores, branches, jumps, and others.

If there are code quality changes that can be made, please let me know.

Furthermore, I would like to add some tests written in NASM assembler, however, I am aware that this would add NASM as a test dependency. Would that be acceptable?

Thank you.

xl10 commented 4 years ago

Jacob,

Thanks for your pull request. To have the code merged into the repo, I would like to see your client support (1) multithreaded programs and (2) HPCToolkit format. Are you willing to put some efforts to implement the two features?

jsalzbergedu commented 4 years ago

Yes, as soon as I find my next block of free time (probably this weekend) I will implement those two features

jsalzbergedu commented 3 years ago

Jacob,

Thanks for your pull request. To have the code merged into the repo, I would like to see your client support (1) multithreaded programs and (2) HPCToolkit format. Are you willing to put some efforts to implement the two features?

I know I said I would do it, but I got stuck -- I haven't managed to install hcptoolkit, and I havent figured out how it might be tested for ARM. When you test drcctprof for ARM, what linux distribution (if any) do you test it with?

xl10 commented 3 years ago

Hi Jacob,

We are using the general Ubuntu on ARM. If you are interested in continuing this work, I'm happy to talk to you more and see what we can do in the next step.

Xu