0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00

4 Commits

Author SHA1 Message Date
Sergey Yagovtsev
a78c92c33f Context switch logger: get the processor cycle counter instead of time of a day 2018-01-07 18:39:11 +03:00
Sergey Yagovtsev
039e0a6efa Add next pid to context switch file 2016-12-12 22:01:33 +03:00
Sergey Yagovtsev
80ebd76116 Interface changing:
1 - Rename startListeningToCature to startListen
2 - Specify listen port by startListen function parameter
2016-12-01 23:25:54 +03:00
Sergey Yagovtsev
9521f8ac02 Store context switch timestamp on linux.
It's need to run systemtap util for loading kernel module. This kernel module capture context switch timestamp and systemtap store it in the temp file.
Before running profiling application you should run systemtap script with root privileges as following:
\# stap -o /tmp/cs_profiling_info.log scripts/context_switch_logger.stp name APPLICATION_NAME
where APPLICATION_NAME is profiling application
2016-09-05 22:11:03 +03:00