sdk/tools/profctl.git
5 years agoFix gmtime thread-safety issue - use gmtime_r
Igor Kulaychuk [Thu, 13 Dec 2018 12:07:10 +0000 (15:07 +0300)]
Fix gmtime thread-safety issue - use gmtime_r

5 years agoCheck malloc result
Igor Kulaychuk [Thu, 13 Dec 2018 12:01:18 +0000 (15:01 +0300)]
Check malloc result

5 years agoFix missing return values
Igor Kulaychuk [Thu, 13 Dec 2018 11:46:37 +0000 (14:46 +0300)]
Fix missing return values

5 years agoRemove appid option accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.031931 accepted/tizen/5.0/unified/20181106.202146 accepted/tizen/unified/20180912.061704 accepted/tizen/unified/20180912.061708 submit/tizen/20180911.125435 submit/tizen/20180911.141534 submit/tizen/20180912.070240 submit/tizen_5.0/20181101.000009 submit/tizen_5.0/20181106.000001
Aleksei Vereshchagin [Wed, 5 Sep 2018 16:29:13 +0000 (19:29 +0300)]
Remove appid option

5 years agoPipe creation refactoring
Aleksei Vereshchagin [Wed, 5 Sep 2018 16:26:17 +0000 (19:26 +0300)]
Pipe creation refactoring

5 years agoAdd setup additional environment for command launch option
Aleksei Vereshchagin [Wed, 5 Sep 2018 15:26:07 +0000 (18:26 +0300)]
Add setup additional environment for command launch option

5 years agoClose stdin/out/err
Aleksei Vereshchagin [Thu, 6 Sep 2018 18:31:53 +0000 (21:31 +0300)]
Close stdin/out/err

5 years agoAdd possibility to launch commands via profctl
Aleksei Vereshchagin [Tue, 4 Sep 2018 20:20:21 +0000 (23:20 +0300)]
Add possibility to launch commands via profctl

5 years agoMore strict options handling
Aleksei Vereshchagin [Tue, 4 Sep 2018 19:45:29 +0000 (22:45 +0300)]
More strict options handling

5 years agomodifications to make possible profiling using one profctl instance
Alexey Chernobaev [Mon, 3 Sep 2018 16:55:42 +0000 (19:55 +0300)]
modifications to make possible profiling using one profctl instance

5 years agoFix CPU count calculation for one-CPU systems
Aleksei Vereshchagin [Tue, 4 Sep 2018 15:31:44 +0000 (18:31 +0300)]
Fix CPU count calculation for one-CPU systems

5 years agoRemove AUL from sources
Aleksei Vereshchagin [Fri, 31 Aug 2018 18:38:16 +0000 (21:38 +0300)]
Remove AUL from sources

5 years agostop profctl if controlled application finished
Alexey Chernobaev [Fri, 31 Aug 2018 17:16:36 +0000 (20:16 +0300)]
stop profctl if controlled application finished

5 years agoSet USE_AUL to FALSE
Aleksei Vereshchagin [Thu, 30 Aug 2018 19:03:17 +0000 (22:03 +0300)]
Set USE_AUL to FALSE

5 years agoRemove AUL to avoid User::Shell access level need
Aleksei Vereshchagin [Thu, 30 Aug 2018 18:53:49 +0000 (21:53 +0300)]
Remove AUL to avoid User::Shell access level need

5 years agofinish profctl in case of command stream EOF or read error
Alexey Chernobaev [Thu, 30 Aug 2018 18:58:05 +0000 (21:58 +0300)]
finish profctl in case of command stream EOF or read error

5 years agobetter logging
Alexey Chernobaev [Thu, 30 Aug 2018 17:58:15 +0000 (20:58 +0300)]
better logging

5 years agoreduce CPU usage using sleep in main loop
Alexey Chernobaev [Wed, 29 Aug 2018 10:37:06 +0000 (13:37 +0300)]
reduce CPU usage using sleep in main loop

5 years agoopen data socket beforehand to prevent data loss
Alexey Chernobaev [Wed, 29 Aug 2018 10:23:09 +0000 (13:23 +0300)]
open data socket beforehand to prevent data loss

5 years agomassive refactoring: clean exit, error handling, etc.
Alexey Chernobaev [Wed, 29 Aug 2018 20:37:44 +0000 (23:37 +0300)]
massive refactoring: clean exit, error handling, etc.

5 years agorefactoring
Alexey Chernobaev [Wed, 29 Aug 2018 19:01:53 +0000 (22:01 +0300)]
refactoring

5 years agoclose sockets and file streams on exit
Alexey Chernobaev [Wed, 29 Aug 2018 18:45:33 +0000 (21:45 +0300)]
close sockets and file streams on exit

5 years agouse UTC time when logging
Alexey Chernobaev [Wed, 29 Aug 2018 18:39:06 +0000 (21:39 +0300)]
use UTC time when logging

5 years agoshow milliseconds in log
Aleksei Vereshchagin [Wed, 29 Aug 2018 18:31:52 +0000 (21:31 +0300)]
show milliseconds in log

5 years agoMove openPort() for dataPort to output_thread
Alexey Chernobaev [Wed, 29 Aug 2018 18:01:54 +0000 (21:01 +0300)]
Move openPort() for dataPort to output_thread

5 years agoclose stdin/stdout/stderr before exiting
Alexey Chernobaev [Wed, 29 Aug 2018 17:59:15 +0000 (20:59 +0300)]
close stdin/stdout/stderr before exiting

5 years agofputs uncommented, checks added
Alexey Chernobaev [Wed, 29 Aug 2018 17:30:38 +0000 (20:30 +0300)]
fputs uncommented, checks added

5 years agorepeat to actual stderr output in log_system_error_and_exit()
Alexey Chernobaev [Wed, 29 Aug 2018 17:27:22 +0000 (20:27 +0300)]
repeat to actual stderr output in log_system_error_and_exit()

5 years agoTemporary disable TIZEN ifndef
Alexey Chernobaev [Wed, 29 Aug 2018 17:25:17 +0000 (20:25 +0300)]
Temporary disable TIZEN ifndef

5 years agoChange installation path in spec-file
Aleksei Vereshchagin [Fri, 24 Aug 2018 14:22:18 +0000 (17:22 +0300)]
Change installation path in spec-file

5 years agooutput 'ready' to control and data socket
Alexey Chernobaev [Thu, 23 Aug 2018 16:46:42 +0000 (19:46 +0300)]
output 'ready' to control and data socket

5 years agocommands reply implemented (in socket mode)
Alexey Chernobaev [Tue, 28 Aug 2018 20:12:03 +0000 (23:12 +0300)]
commands reply implemented (in socket mode)

5 years agoAdd data port
Alexey Chernobaev [Tue, 28 Aug 2018 20:03:27 +0000 (23:03 +0300)]
Add data port

5 years agoRename IO streams
Alexey Chernobaev [Tue, 28 Aug 2018 19:46:38 +0000 (22:46 +0300)]
Rename IO streams

5 years agoImproved logging
Alexey Chernobaev [Tue, 28 Aug 2018 19:31:52 +0000 (22:31 +0300)]
Improved logging

5 years agoFix printf formatting for system info;
Rinat Dobrokhotov [Tue, 28 Aug 2018 14:22:16 +0000 (17:22 +0300)]
Fix printf formatting for system info;

5 years agoUse 'ofile' as output stream for 'output_thread'
Aleksei Vereshchagin [Thu, 16 Aug 2018 20:13:06 +0000 (23:13 +0300)]
Use 'ofile' as output stream for 'output_thread'

5 years agoImplemantation of socket support for data output
Igor Oblakov [Wed, 8 Aug 2018 16:21:39 +0000 (19:21 +0300)]
Implemantation of socket support for data output

5 years agoprofctl hang fix
Igor Oblakov [Fri, 10 Aug 2018 07:08:31 +0000 (10:08 +0300)]
profctl hang fix

5 years agoAdd TIZEN building option
Aleksei Vereshchagin [Wed, 15 Aug 2018 16:49:33 +0000 (19:49 +0300)]
Add TIZEN building option

5 years agoAdd .gitignore file
Aleksei Vereshchagin [Wed, 15 Aug 2018 16:54:22 +0000 (19:54 +0300)]
Add .gitignore file

5 years agoUse CMAKE_C_FLAGS* instead of CMAKE_CXX_FLAGS*
Aleksei Vereshchagin [Wed, 15 Aug 2018 15:40:15 +0000 (18:40 +0300)]
Use CMAKE_C_FLAGS* instead of CMAKE_CXX_FLAGS*

5 years agouse one gettimeofday call instead of time and gettimeofday
Alexey Chernobaev [Thu, 16 Aug 2018 15:33:52 +0000 (18:33 +0300)]
use one gettimeofday call instead of time and gettimeofday

5 years agoTry to open proc files several times due to problems with permissions accepted/tizen/unified/20180821.091206 submit/tizen/20180820.170401
Aleksei Vereshchagin [Fri, 10 Aug 2018 20:18:30 +0000 (23:18 +0300)]
Try to open proc files several times due to problems with permissions

5 years agoUse two buffers (statmname and statname) instead of one pidname
Aleksei Vereshchagin [Fri, 10 Aug 2018 20:06:39 +0000 (23:06 +0300)]
Use two buffers (statmname and statname) instead of one pidname

5 years agoset system information frequency to 500 milliseconds
Alexey Chernobaev [Tue, 3 Jul 2018 18:28:01 +0000 (21:28 +0300)]
set system information frequency to 500 milliseconds

5 years agoUpdate doc;
Rinat Dobrokhotov [Tue, 3 Jul 2018 16:23:31 +0000 (19:23 +0300)]
Update doc;

5 years agoFix indentation;
Rinat Dobrokhotov [Fri, 29 Jun 2018 09:30:42 +0000 (12:30 +0300)]
Fix indentation;

5 years agoAdd possibility to choose pipe owner;
Rinat Dobrokhotov [Thu, 28 Jun 2018 13:54:54 +0000 (16:54 +0300)]
Add possibility to choose pipe owner;

6 years agoAdd LICENSE and README.md accepted/tizen/unified/20180628.130556 submit/tizen/20180619.082107
Aleksei Vereshchagin [Fri, 1 Jun 2018 11:32:24 +0000 (14:32 +0300)]
Add LICENSE and README.md

6 years agoInitial implementation of profctl
Aleksei Vereshchagin [Fri, 1 Jun 2018 10:44:41 +0000 (13:44 +0300)]
Initial implementation of profctl

6 years agoInitial empty repository master
Tizen Infrastructure [Fri, 15 Jun 2018 01:20:46 +0000 (01:20 +0000)]
Initial empty repository