I want to know during the execution of
sysbench --time=100 ..., the bottleneck (function) of MySQL. So I want to profile MySQL when executing
sysbench --time=100 ....
I know by
set profiling = 1;, I can get such profile for a specific query, but not for a period of time (100 seconds). What can I do?