30 likes | 188 Views
Dr. Gadi Haber . Dynamic binary instrumentation for improving performance of running applications. Dynamic Instrumentation using Intel Pin toolkit.
E N D
Dr. Gadi Haber Dynamic binary instrumentation for improving performance of running applications
Dynamic Instrumentation using Intel Pin toolkit • The proposed project is to write a Pin-based tool for automatically replacing functions within given application binaries by new optimized functions. • It uses Intel Pin which is a tool that provides dynamic instrumentation of programs. • Intel Pin is a complete toolkit that provides a rich API that abstracts away the instrumentation process. • Pin automatically saves and restores the registers that are overwritten by the injected code so the application continues to work. • For more details on Intel Pin see: http://www.pintool.org/
Proposed optimizations • Among proposed optimizations to be dynamically applied at runtime via Intel Pin are: • Function Inlining • Function Specialization • Replacing known library functions by optimized versions • Loop vectorization • etc.