How to monitor sampling over time with Perf
Hi,
I would like to monitor perf results over time. For example, I would like to have all the occurrences of an event and their timestamp of occurrence. How can I have those infos? I read somewhere in the documentation that perf script command provides timestamps for each occurrence, but when I tried this command I didn't understand it's output, and there is no documentation. Could someone plead provide me examples on how to use perf utilities to answer my needs?
Many thnaks
I don't think this functionality is available in perf..I could be wrong.. I think you would have to add a small piece of code in perf stat to achieve this..
Follow the execution from cmd_stat until run_perf_stat(I think..)
I will try to answer your question better once I go back to my lab..I don't have access to the kernel sources currently..
Quoted 15 lines · Donitta
Hi,
I would like to monitor perf results over time. For example, I would like to have all the occurrences of an event and their timestamp of occurrence. How can I have those infos? I read somewhere in the documentation that perf script command provides timestamps for each occurrence, but when I tried this command I didn't understand it's output, and there is no documentation. Could someone plead provide me examples on how to use perf utilities to answer my needs?Many thnaks
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html