问题标签 [ltrace]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
15 浏览

statistics - 可执行文件对库调用的统计分析

I want to perform some statistical analysis of the distribution of calls by an executable of mine to external libraries (it's a C++ executable on Linux, so that would be the C++ standard library, glibc, pthreads etc.)

Is there a faster, more convenient way of doing this than using ltrace, then some sed, cut, sort and uniq? Waiting for ltrace to go throw my execution makes it much much slower.