summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Lukasz Stanislawski [Wed, 18 Jul 2018 12:24:32 +0000 (14:24 +0200)]
stats: rename to sys-stats + refactor
Make stats module handle only system-wide statistics.
Change-Id: If9b391e7a635ec3185a3459a25ed49c758721f98
Lukasz Stanislawski [Thu, 19 Jul 2018 10:08:19 +0000 (12:08 +0200)]
process: micro optimization
Change-Id: Ib21b5172763663d83e160016f645e276a8c0ad88
Lukasz Stanislawski [Thu, 19 Jul 2018 09:41:36 +0000 (11:41 +0200)]
appinfo-provider: fix crash on iterator free
Change-Id: I6c9b3f61441185b936d91a16113fff35c6319d5f
Lukasz Stanislawski [Wed, 18 Jul 2018 09:38:53 +0000 (11:38 +0200)]
report-generator: remove interval param
The interval parameter was unused in fact, so remove it
to simplify code.
Change-Id: Ic527f753773f2a0f482398a5a43c26859aadfae3
Lukasz Stanislawski [Tue, 17 Jul 2018 09:19:40 +0000 (11:19 +0200)]
do not null-check before free
Change-Id: I6388c069fd659808060d25d39d6c77abe32d6791
Michal Kolodziejski [Tue, 17 Jul 2018 10:34:39 +0000 (12:34 +0200)]
config: fixed naming, deleted empty config.c file
Change-Id: I31dd633e5df8fca2f624740f4a55e2053b514d97
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Tue, 17 Jul 2018 14:08:32 +0000 (16:08 +0200)]
top generator related fixes
Change-Id: Ic4dd1274a976da898c007e8a5a0e893c17ed6a68
Lukasz Stanislawski [Tue, 17 Jul 2018 12:04:41 +0000 (14:04 +0200)]
clock: refactor API for most common use cases
Change-Id: I36e38d424d25443561db10b0b7d28698677a6ca8
Lukasz Stanislawski [Tue, 17 Jul 2018 09:15:13 +0000 (11:15 +0200)]
process: fixes
- implement getting appid
- return memory as KiB not bytes
Change-Id: I21e4af8c8627ae52a6be8afb77eb1a03df26166b
Michal Kolodziejski [Mon, 16 Jul 2018 16:05:45 +0000 (18:05 +0200)]
refactor: removed app report, added app_id to process report
Change-Id: I7b01b1c1a3901c0d1adbbbf129dbd6f963f3c494
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Mon, 16 Jul 2018 15:22:49 +0000 (17:22 +0200)]
process: read memory from stat instead of smaps
Change-Id: Idf095953b96b929cc76417f35ccc7c925fd2af96
Lukasz Stanislawski [Mon, 16 Jul 2018 14:37:43 +0000 (16:37 +0200)]
procfs: refactor naming
Make procfs functions & structures names map exeacly to filenames from /proc/
Change-Id: Ic3635f4db29be194ebfc97d107fc71cd82d2df1b
Michal Kolodziejski [Mon, 16 Jul 2018 14:44:55 +0000 (16:44 +0200)]
refactor: merged process cpu and mem reports into one struct
Change-Id: I66b3c8b9c1b9461abc16e617968effabf5946de5
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Mon, 16 Jul 2018 14:41:23 +0000 (16:41 +0200)]
refactor: merged system cpu and mem reports into one struct
Change-Id: I2c5e8ae3d8ea520c4ed86233ccde5f6309c81c11
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Mon, 16 Jul 2018 14:39:13 +0000 (16:39 +0200)]
refactor: removed percpu report
Change-Id: Ic0aced66216ff37e11ad5cbd013f330c379807e7
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Wed, 11 Jul 2018 18:02:29 +0000 (20:02 +0200)]
report-generator: implement top report generator
This patch adds additional objects:
proc-scanner - for scanning whole /proc/ dir
process - to gather information from /proc/<pid>/*
Change-Id: Ic0ad58fb9a0ae59e9390b3d109440d91d25e90da
Michal Kolodziejski [Fri, 13 Jul 2018 17:03:08 +0000 (19:03 +0200)]
ipc: integrated with ttsd
Change-Id: I08ee3b7a1e6eaeba8c37835129d78221bb62e6f5
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Fri, 13 Jul 2018 12:59:50 +0000 (14:59 +0200)]
ipc: integrated with project
Change-Id: I0bf64847369d7969abad3fa80760ae7d9e76da70
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Fri, 13 Jul 2018 09:17:14 +0000 (11:17 +0200)]
ipc: counter implementation
Change-Id: Ib0e58ad1afacceb75749e862adc43e618e7a8f6f
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Thu, 28 Jun 2018 10:47:29 +0000 (12:47 +0200)]
ipc: api
Change-Id: I708fd42d26c6f604cc48ceef253e054dd3cb03ad
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Tue, 10 Jul 2018 12:16:08 +0000 (12:16 +0000)]
Merge "main: implementation"
Michal Kolodziejski [Mon, 2 Jul 2018 11:40:53 +0000 (13:40 +0200)]
main: implementation
Change-Id: Ifc140f9d3ed40ba1fd347a1ec52526ab84004d7b
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Sun, 8 Jul 2018 11:22:45 +0000 (13:22 +0200)]
report-generator: move clock func to seaprate header
Use realtime clock for report time.
Change-Id: I4623ef15d9c5b842077035525248015051b9e34b
Michal Kolodziejski [Tue, 3 Jul 2018 12:39:55 +0000 (14:39 +0200)]
config: added total_duration
Change-Id: I73700bfbd122980aa865c80a7147954873fcbf31
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Thu, 5 Jul 2018 14:31:13 +0000 (14:31 +0000)]
Merge "report-json-serializer: app and top serializers"
Michal Kolodziejski [Wed, 4 Jul 2018 13:41:46 +0000 (15:41 +0200)]
report-json-serializer: app and top serializers
Change-Id: Iecc773aecbc6f44d404e7edd4eea13e62868683f
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Fri, 29 Jun 2018 10:44:56 +0000 (12:44 +0200)]
procfs: add reading cmdline and exe
Change-Id: Ibf7e126b86ddb70144448f87da167a55a4dfb7cf
Lukasz Stanislawski [Wed, 27 Jun 2018 14:33:02 +0000 (16:33 +0200)]
report-generator: refactor
Move the statistic calculation logic out-of report-generator.
Change-Id: I4993271bc9e0dbb0dd665f48f6fe66933e7b8bc3
Michal Kolodziejski [Fri, 29 Jun 2018 13:39:33 +0000 (15:39 +0200)]
appinfo-provider: implementation part 2
Change-Id: Ib1f4eaa08058488bde38d7bf9f82a65e446baaa6
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Fri, 29 Jun 2018 13:58:39 +0000 (13:58 +0000)]
Merge "report-generator: implement app_report_generator"
Lukasz Stanislawski [Tue, 26 Jun 2018 14:34:43 +0000 (16:34 +0200)]
report-generator: implement app_report_generator
Change-Id: I8820b70f3f4fbca245276ec99b49c1de5a7eb8b3
Lukasz Stanislawski [Thu, 28 Jun 2018 17:22:21 +0000 (19:22 +0200)]
procfs: implement pid iterator
Change-Id: I1fa1db698ba6e71778bee11dc606c9fa3b503f13
Michal Kolodziejski [Wed, 27 Jun 2018 14:00:39 +0000 (16:00 +0200)]
app-provider: implementation part1
Change-Id: Ifca921415fc27b6ef6c200bd8602efaf19719638
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Wed, 27 Jun 2018 12:41:47 +0000 (14:41 +0200)]
app-provider: api change
Change-Id: Iaa114497633df86205d1feddbc3dc87a9ed311fe
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Fri, 22 Jun 2018 14:14:25 +0000 (16:14 +0200)]
task-factory: app-task implementation
Change-Id: I52c341a8ed6829714480c4b122267d31e19f14f6
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Fri, 22 Jun 2018 10:37:02 +0000 (12:37 +0200)]
report: return memory usage as percent
Change-Id: I5a6c123c666baf3b85900a1eaf89ecd13566dc8b
Lukasz Stanislawski [Tue, 22 May 2018 15:18:34 +0000 (17:18 +0200)]
serializer: basic report serializer added
Change-Id: Ie93e518aa0e756ab7ab9e96c5e694f558076caad
Lukasz Stanislawski [Thu, 21 Jun 2018 14:59:00 +0000 (16:59 +0200)]
app-provider: API design
Change-Id: I70750d272eb9cc75c4bf211ac0695346d95d2e02
Lukasz Stanislawski [Fri, 22 Jun 2018 12:13:50 +0000 (12:13 +0000)]
Merge "build: fix wrong package name"
Michal Kolodziejski [Fri, 22 Jun 2018 09:20:09 +0000 (11:20 +0200)]
task-factory: load_avg task
Change-Id: I6601e0957dff24fe2bef0ec629fe1932de93ad2e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Thu, 21 Jun 2018 14:10:14 +0000 (16:10 +0200)]
task-factory: fixed name, fixed memory leak
Change-Id: Ifb92bfda6176a720a03c7250d321c32f8f7fd2e3
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Tue, 19 Jun 2018 14:04:40 +0000 (16:04 +0200)]
config-deserializer: implementation
Change-Id: If143fe1df77e7318e7fd0402277a61a7777f9f9d
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Thu, 21 Jun 2018 13:22:31 +0000 (15:22 +0200)]
config-deserializer: fixed config to meet new requirements
Change-Id: I10df6a9aa39194e509de9ae8c0eb8928583bc14e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Tue, 19 Jun 2018 12:07:25 +0000 (14:07 +0200)]
config deserializer: api design
Change-Id: I9c74ede328842a968e2a097da8ac704415ccdd91
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Fri, 22 Jun 2018 10:04:43 +0000 (12:04 +0200)]
json-schema-defs: implementation
Change-Id: Id59aed5dde0ac1cae0f45a2ebdbb947eb08d645e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Thu, 21 Jun 2018 15:06:41 +0000 (17:06 +0200)]
build: fix wrong package name
Change-Id: Ie7706f7aaf3ddba8eb69a4f80cacd113f6cf8ec8
Lukasz Stanislawski [Mon, 11 Jun 2018 08:53:28 +0000 (10:53 +0200)]
report-generator: implement generator functions
Change-Id: I25f955a06d0ffbf0ecbb7bdeb77dc19cc15cad24
Michal Kolodziejski [Tue, 19 Jun 2018 09:20:53 +0000 (11:20 +0200)]
scheduler: struct field initialized with NULL
Change-Id: I3a4f22487af9f55cd7f57bbc0934a7841ebbc12e
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Fri, 15 Jun 2018 15:43:35 +0000 (17:43 +0200)]
scheduler: implementation
Change-Id: I42257e1945c0f48998ac5a9321e9330c7601d222
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Fri, 15 Jun 2018 08:57:05 +0000 (10:57 +0200)]
scheduler: api
Change-Id: Iaae18f56facb118f9917d29ff18d7957a24e41ae
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Thu, 14 Jun 2018 10:48:42 +0000 (12:48 +0200)]
worker: removed thread limit
Change-Id: Id35ef9a6aacfede7c7ead9df86ff44b6c8d833e4
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Tue, 19 Jun 2018 09:36:38 +0000 (09:36 +0000)]
Merge "task, task factory: implementation (system)"
Michal Kolodziejski [Tue, 12 Jun 2018 08:09:46 +0000 (10:09 +0200)]
task, task factory: implementation (system)
Change-Id: I83baf01522e4176bf90887209d4ee659b2e5a143
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Thu, 14 Jun 2018 16:19:05 +0000 (18:19 +0200)]
procfs: implement reading process smaps
Change-Id: I5a338ce451bc37abae16aec540797c8ec8bbea2b
Lukasz Stanislawski [Mon, 18 Jun 2018 11:41:17 +0000 (11:41 +0000)]
Merge "build: add compile database for libclang"
Lukasz Stanislawski [Mon, 18 Jun 2018 11:41:03 +0000 (11:41 +0000)]
Merge "generator: remove app report generation"
Lukasz Stanislawski [Thu, 14 Jun 2018 15:24:56 +0000 (17:24 +0200)]
generator: remove app report generation
The generation reports for Tizen applications will be
done in tasks directly.
Change-Id: I8147b5e2afe175492b2aa6090b5831c50cbb014d
Lukasz Stanislawski [Thu, 7 Jun 2018 14:32:14 +0000 (16:32 +0200)]
procfs: implement reading pid utime and stime
Change-Id: I82d77f8aa3f4b4423615246ca56fb5385b083d5b
Michal Kolodziejski [Thu, 7 Jun 2018 10:07:08 +0000 (12:07 +0200)]
worker: implementation
Change-Id: I5e3a5ac2897643fa332b69676681d00e0a968932
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Fri, 15 Jun 2018 10:34:54 +0000 (10:34 +0000)]
Merge "procfs: implement cpu usage"
Lukasz Stanislawski [Fri, 15 Jun 2018 10:34:45 +0000 (10:34 +0000)]
Merge "procfs: implement system memory usage"
Lukasz Stanislawski [Fri, 15 Jun 2018 09:24:33 +0000 (09:24 +0000)]
Merge "procfs: implement reading cpus count"
Lukasz Stanislawski [Fri, 15 Jun 2018 09:24:22 +0000 (09:24 +0000)]
Merge "procfs: implement reading uptime"
Michal Kolodziejski [Wed, 6 Jun 2018 14:32:16 +0000 (16:32 +0200)]
config, task_factory: api
Change-Id: I9955421bcee4cbcf419d27743dcde1f1b3ad5cef
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Wed, 6 Jun 2018 13:04:06 +0000 (15:04 +0200)]
worker api
Change-Id: Iceca258e72a95267d4ab706603183e8712756260
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Michal Kolodziejski [Tue, 29 May 2018 14:07:38 +0000 (16:07 +0200)]
task: api
Change-Id: Ia1f87d94d3b96b5a46617b375c89a811be6d9fae
Signed-off-by: Michal Kolodziejski <m.kolodziejs@samsung.com>
Lukasz Stanislawski [Thu, 7 Jun 2018 21:16:40 +0000 (23:16 +0200)]
build: add compile database for libclang
Change-Id: I897182a36d9c6142960203cb21e2e1e212ccd15d
Lukasz Stanislawski [Sun, 10 Jun 2018 21:27:43 +0000 (23:27 +0200)]
procfs: implement cpu usage
Change-Id: Ic740b533722f6b3646528295d76bb43a0c01ce37
Lukasz Stanislawski [Wed, 16 May 2018 07:24:51 +0000 (09:24 +0200)]
procfs: implement system memory usage
Change-Id: I8ccd8a2bc6a200d7d9af4d8fac170cff7fafd5b1
Lukasz Stanislawski [Tue, 15 May 2018 05:41:26 +0000 (07:41 +0200)]
procfs: implement reading cpus count
Change-Id: I8083f8bf5e7fb7484502ea8f9e710f9a553b9b72
Lukasz Stanislawski [Mon, 14 May 2018 12:52:41 +0000 (14:52 +0200)]
procfs: implement reading uptime
Change-Id: Ibed295319c087196cc551f1cbb1d2384465d2c61
Lukasz Stanislawski [Tue, 12 Jun 2018 09:39:43 +0000 (11:39 +0200)]
interface implementation stub added.
Change-Id: Id011c4315f55344bf64019867880ed35da983b5e
Lukasz Stanislawski [Tue, 12 Jun 2018 09:32:52 +0000 (11:32 +0200)]
procfs: fix warning
Change-Id: I86bfb970d6bc1e26b6cdd39200473c43e0bdc144
Lukasz Stanislawski [Mon, 14 May 2018 08:29:23 +0000 (10:29 +0200)]
Add error checking macros
Process function input argument validation using macros.
Change-Id: I8845351b9f114f0d02be4460cd4a418075935727
Lukasz Stanislawski [Mon, 14 May 2018 06:51:06 +0000 (08:51 +0200)]
procfs: Implement reading load averages
Change-Id: I138e545c1adca80ad34bffd41dcde78e077503c8
Lukasz Stanislawski [Fri, 11 May 2018 13:08:49 +0000 (15:08 +0200)]
Add logger
use dlog with TTS-TASK-WORKER tag.
Change-Id: I48c55423f7887bcb17cc30fea6daab8d14cb4b47
Lukasz Stanislawski [Thu, 10 May 2018 08:38:16 +0000 (10:38 +0200)]
split CMakeLists
Make main CMakeLists.txt reponsible for configuring and
manifest installation only.
Make src/CMakeLists.txt reposnsible for building.
Change-Id: Ibe2c9459765bf6f894acad998ec4072c8f9b06a9
Lukasz Stanislawski [Fri, 27 Apr 2018 06:27:31 +0000 (08:27 +0200)]
initial interface design
Change-Id: Ief54674697228aa481e07e12eabfc1636e97e8bf
Lukasz Stanislawski [Tue, 24 Apr 2018 13:42:23 +0000 (15:42 +0200)]
Create project structure
Change-Id: Ic584cc92fce3d408a8484b6f13bc86c8d88e2e5a
Tizen Infrastructure [Tue, 17 Apr 2018 01:55:29 +0000 (01:55 +0000)]
Initial empty repository