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

142 Commits

Author SHA1 Message Date
Victor Zarubkin
4a05cafab4 Writing signature and version into file to let reader check if file is valid;
* Added output messages
2016-09-27 22:28:04 +03:00
Victor Zarubkin
e317d006a0 Linux build without copy 2016-09-27 01:07:13 +03:00
Victor Zarubkin
7e4e921403 Linux build: have to COPY file contents. Sad :( 2016-09-27 00:51:45 +03:00
Victor Zarubkin
15ba83cb20 Linux build 2016-09-27 00:12:28 +03:00
Victor Zarubkin
db5a866c0d Windows build 2016-09-26 23:54:20 +03:00
Victor Zarubkin
46a9caddb8 Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-09-26 23:52:05 +03:00
Sergey Yagovtsev
bf74e673fc Move getCurrentTime function in separate header 2016-09-26 23:23:38 +03:00
Sergey Yagovtsev
f9b594918f Add function for x86 and x64 arch 2016-09-26 23:11:25 +03:00
Victor Zarubkin
8fd70c5420 Many new features:
* Reading blocks from stream without temporary file;
* Reading blocks description from stream;
* Control blocks statuses over network: connect to the application, refresh blocks list, change block's status, launch profiling.
2016-09-25 11:49:49 +03:00
Victor Zarubkin
485cec2b4f More correct version of reader interruption 2016-09-24 00:26:56 +03:00
Victor Zarubkin
e600c2f5cd begin/end time for Linux too 2016-09-24 00:15:33 +03:00
Victor Zarubkin
c96a8c3a18 (profiler_core) Added "ThreadFinished" event 2016-09-23 23:51:49 +03:00
Victor Zarubkin
583410c929 (profiler_gui) Added events indicators (like context switch events at the bottom of each thread) 2016-09-23 23:50:43 +03:00
Victor Zarubkin
30de452113 Trying to fix problem with c++11 magic statics (there is no support for visual studio 2013 and earlier, gcc < 4.3 and clang < 2.9);
Wrapped "final" keyword for different compilers support;
Block descriptors now stored in unordered_map to make it easy to control theirs visibility level and to make it safe to unload dll/so during application execution.
2016-09-22 23:06:43 +03:00
Victor Zarubkin
79e503983c Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-09-21 22:09:09 +03:00
Victor Zarubkin
7f5b7c00a8 (profiler_gui) Added tool-button "Clear all";
(profiler_gui) Prepare for append blocks
2016-09-21 22:09:04 +03:00
Sergey Yagovtsev
7804cf8b92 Warning fix 2016-09-20 23:25:13 +03:00
Victor Zarubkin
d6269f17fe Merge branch 'develop' of https://github.com/yse/easy_profiler into develop 2016-09-20 22:57:52 +03:00
Victor Zarubkin
e49b6179ef New flexible block statuses instead of ENABLED, DISABLED: OFF, ON, FORCE_ON, OFF_RECURSIVE, ON_WITHOUT_CHILDREN, FORCE_ON_WITHOUT_CHILDREN 2016-09-20 22:57:34 +03:00
Sergey Yagovtsev
4c73886233 common code for linux and windows 2016-09-20 00:57:47 +03:00
Sergey Yagovtsev
38eecc722d Refactoring of sockets 2016-09-19 23:59:55 +03:00
Sergey Yagovtsev
0ca2a4aef7 Add files 2016-09-18 19:11:22 +03:00
Sergey Yagovtsev
85e7145bf1 Merge commit 2016-09-18 19:02:12 +03:00
Sergey Yagovtsev
9b7b80febe Check if receive return zero - set it to disconnect 2016-09-18 18:33:10 +03:00
Sergey Yagovtsev
2d4e22cc23 Add init and flush functions for EasySocket 2016-09-18 18:08:47 +03:00
Sergey Yagovtsev
6939f053c9 Add checkResult function for socket 2016-09-18 16:43:43 +03:00
Victor Zarubkin
b81779eaf6 refactoring 2016-09-17 15:37:16 +03:00
Victor Zarubkin
5d95cbd83b (profiler_core) Added log messages output for Windows event tracer 2016-09-17 12:54:47 +03:00
Victor Zarubkin
ce61ea1a77 small refactoring 2016-09-17 11:10:45 +03:00
Victor Zarubkin
34bb8d8119 (profiler_core) Fixed potential problem with unloading dll/so during application work 2016-09-17 11:10:25 +03:00
Victor Zarubkin
6b07af9e05 (ETW) Event tracing fix for situation when application was not launched from Visual Studio: to be able to get process name application requires debug privilege level. 2016-09-17 01:05:50 +03:00
Sergey Yagovtsev
c316734e8f Fix disconnect problem on downloading 2016-09-16 22:51:15 +03:00
Sergey Yagovtsev
82079f43da linux client socket fix 2016-09-16 22:23:04 +03:00
Sergey Yagovtsev
52a9862963 Correct receiving 2016-09-16 02:11:11 +03:00
Sergey Yagovtsev
f4676ced6f sleep for 1 second 2016-09-16 01:37:50 +03:00
Sergey Yagovtsev
4b71a64363 Merge commit 2016-09-16 00:53:27 +03:00
Sergey Yagovtsev
d5f6aa94b1 Add checking for empty sync list.
(cherry picked from commit ef60d553c064341ab714a79e8e12d5363b35081e)
2016-09-16 00:19:03 +03:00
Sergey Yagovtsev
ef60d553c0 Add checking for empty sync list. 2016-09-15 23:30:36 +03:00
Victor Zarubkin
4a40872183 (profiler_core) Added possibility to control event tracing priority level and to enable/disable event tracing at all. 2016-09-15 23:15:07 +03:00
Sergey Yagovtsev
61589c1154 Merge commit 2016-09-15 22:49:56 +03:00
Victor Zarubkin
f0ee9215bd Warnings fix 2016-09-14 23:34:56 +03:00
Victor Zarubkin
795d347d2a Linux build 2016-09-14 23:23:09 +03:00
Sergey Yagovtsev
80892e636e Receive by EasySocket 2016-09-14 22:04:15 +03:00
Victor Zarubkin
86314b89ba (profiler_core) Windows event tracing: if we can't get process name at the moment, write process id at least 2016-09-14 21:53:06 +03:00
Victor Zarubkin
fdee7226f8 (profiler_gui) More information in popup; Right way to remove QGraphicsProxyWidget from scene (it does not delete widget by itself) 2016-09-13 23:44:20 +03:00
Victor Zarubkin
313f981cc9 Fix CMakeLists.txt 2016-09-13 23:13:11 +03:00
Victor Zarubkin
1b33ad788d (profiler_core) Further work with run-time enable/disable blocks;
(profiler_core) Fixed bug with memory corruption in chunk_allocator;
(profiler_core) Event tracing now gathering info about process which owns thread;
(profiler_core) Thread names are stored before other blocks now;
(profiler_core) Removed unused block types: context switch and thread sign;
(profiler_core) Added some description for API;
(profiler_gui) Context switch events now painted in different colors: red = switch to another process, coral = switch to registered thread in the same process, black = switch to kernel mode (thread id == 0).
(profiler_gui) Added popup windows with information about context-switch or block under mouse cursor;
2016-09-13 23:03:01 +03:00
Victor Zarubkin
f490641165 forgotten row 2016-09-13 22:53:07 +03:00
Sergey Yagovtsev
6d6ad61a18 Add connect button 2016-09-13 21:42:38 +03:00
Sergey Yagovtsev
3181b867b1 Windows socket connection 2016-09-12 22:10:45 +03:00