platform/core/system/dumpsys.git
4 years agoReturn the correct code in case of permission issue 43/241343/2 accepted/tizen/unified/20200828.225432 submit/tizen/20200828.090017
Mateusz Moscicki [Wed, 19 Aug 2020 08:50:45 +0000 (10:50 +0200)]
Return the correct code in case of permission issue

Change-Id: Ib07350e9e219ab177ee39ed1631f56fa05da98bb

4 years agoRelease 2.0.10 77/239877/2 accepted/tizen/unified/20200806.121124 submit/tizen/20200804.135936
Mateusz Moscicki [Thu, 30 Jul 2020 07:47:08 +0000 (09:47 +0200)]
Release 2.0.10

Change-Id: Ib86f3c406135a90abc4a5a6f88edf4e1cbebb305

4 years agoCleanup build requirements in the spec file 02/240202/1
Mateusz Moscicki [Tue, 4 Aug 2020 09:48:04 +0000 (11:48 +0200)]
Cleanup build requirements in the spec file

Change-Id: Iaa5400c5fd634b1c67c62c4723e685cdbeff4f5b

4 years agoDisable building tests by default 76/239876/2
Mateusz Moscicki [Thu, 30 Jul 2020 06:17:24 +0000 (08:17 +0200)]
Disable building tests by default

Change-Id: Ib53b90435a529a96b2db8f6ac31cc35662553467

4 years agoEnsure tmpfile is always installed in /usr/lib 61/239661/1 accepted/tizen/unified/20200729.165545 submit/tizen/20200729.101926
Karol Lewandowski [Tue, 28 Jul 2020 16:13:10 +0000 (18:13 +0200)]
Ensure tmpfile is always installed in /usr/lib

This commit fixes issue on aarch64, where tmpfile was installed into /usr/lib64.

Change-Id: I139fe96678832b928a5e955a937aca955b45d3c1

4 years agoRelease 2.0.8 98/238398/1 submit/tizen/20200713.115456
Mateusz Moscicki [Mon, 13 Jul 2020 11:28:31 +0000 (13:28 +0200)]
Release 2.0.8

Change-Id: Id77ef5317da6f71b493dfbf011726460a0d9645c

4 years agoAdd dumpsys-common requirement to the dumpsys package 92/237792/1
Mateusz Moscicki [Fri, 3 Jul 2020 13:22:49 +0000 (15:22 +0200)]
Add dumpsys-common requirement to the dumpsys package

Change-Id: I0de1f258174bffdd0fa009067b66c19bb53e72da

4 years agoFix memory leak 35/237235/3
Mateusz Moscicki [Fri, 26 Jun 2020 06:56:43 +0000 (08:56 +0200)]
Fix memory leak

Change-Id: I5fd9ce01b80b3baa80dbf924ee1468d141373637

4 years agoChange the dumpsys_dump() function signature 38/236838/1
Mateusz Moscicki [Mon, 22 Jun 2020 12:54:25 +0000 (14:54 +0200)]
Change the dumpsys_dump() function signature

Change-Id: Iaf20a0e29afab2f2eac6b489757605ea5aaddb81

4 years agoAdd unit tests 33/235533/3
Mateusz Moscicki [Mon, 11 May 2020 11:32:49 +0000 (13:32 +0200)]
Add unit tests

Change-Id: I6e85ba73472b1bf0bc363cd9c09cfedd41dec321

4 years agoRelease 2.0.7 09/232309/1 accepted/tizen/unified/20200507.052312 submit/tizen/20200430.113916
Mateusz Moscicki [Thu, 30 Apr 2020 11:26:04 +0000 (13:26 +0200)]
Release 2.0.7

Change-Id: I9861cbd237b6c002a4a331609241367ecbbe410e

4 years agoMerge branch 'tizen_5.5' into tizen 64/232264/1
Mateusz Moscicki [Wed, 29 Apr 2020 10:01:20 +0000 (12:01 +0200)]
Merge branch 'tizen_5.5' into tizen

Change-Id: If816e118c02114d7a06a50c021a06d82bfc6b9e7

4 years agoFix memory leak 82/232182/1
Kichan Kwon [Wed, 29 Apr 2020 03:15:35 +0000 (12:15 +0900)]
Fix memory leak

Change-Id: Icc17a110af79c93197cdcc97933ec2f033db9f96
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoMerge branch 'tizen' into tizen_5.5 30/232030/1 accepted/tizen/5.5/unified/20200428.130446 submit/tizen_5.5/20200427.133658
Mateusz Moscicki [Mon, 27 Apr 2020 13:01:21 +0000 (15:01 +0200)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I54fecf2c105f9524f3f357ba1e32d574efb1d68a

4 years agoRelease 2.0.6 21/232021/1 accepted/tizen/unified/20200428.130012 submit/tizen/20200427.133720
Mateusz Moscicki [Mon, 27 Apr 2020 10:29:30 +0000 (12:29 +0200)]
Release 2.0.6

Change-Id: Ib8f280eefddc3876db4a963fc36a1c52d411e25a

4 years agoFix resource leak 35/231835/1
Mateusz Moscicki [Fri, 24 Apr 2020 10:15:22 +0000 (12:15 +0200)]
Fix resource leak

Change-Id: Ie4237ffa4164648923941554c9e66db10428d693

4 years agoMerge "Change file permission of dumpsys-service.conf to 644" into tizen
Karol Lewandowski [Tue, 14 Apr 2020 08:34:51 +0000 (08:34 +0000)]
Merge "Change file permission of dumpsys-service.conf to 644" into tizen

4 years agoMerge branch 'tizen' into tizen_5.5 26/230526/1 accepted/tizen/5.5/unified/20200413.002438 submit/tizen_5.5/20200410.085241 submit/tizen_5.5/20200410.112955
Karol Lewandowski [Fri, 10 Apr 2020 08:43:18 +0000 (10:43 +0200)]
Merge branch 'tizen' into tizen_5.5

Change-Id: Id869d30fe79479900c947789c2a6d3896dc4eae9

4 years agoRelease 2.0.5: Hotfix: Modify policy to support dumpsys providers with multiple well... 04/230504/4 accepted/tizen/unified/20200410.122623 submit/tizen/20200410.085258
Karol Lewandowski [Fri, 10 Apr 2020 07:00:43 +0000 (09:00 +0200)]
Release 2.0.5: Hotfix: Modify policy to support dumpsys providers with multiple well-known names registered

Change-Id: I0cf61c9f3d92776c2fee25f8efc1f7ce08b15fa7

4 years agoMerge branch 'tizen' into tizen_5.5 18/230318/1 accepted/tizen/5.5/unified/20200410.123238 submit/tizen_5.5/20200409.084736
Mateusz Moscicki [Thu, 9 Apr 2020 08:27:30 +0000 (10:27 +0200)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I72a896fe0a90418c97efb935f1de02cde65aa832

4 years agoRelease 2.0.4 16/230316/1 accepted/tizen/unified/20200410.015554 submit/tizen/20200409.084659
Mateusz Moscicki [Thu, 9 Apr 2020 08:26:48 +0000 (10:26 +0200)]
Release 2.0.4

Change-Id: Id2924889367b792d6db3ce37e30f1ec7efe8abae

4 years agoChange file permission of dumpsys-service.conf to 644 73/230273/1
INSUN PYO [Thu, 9 Apr 2020 05:35:23 +0000 (14:35 +0900)]
Change file permission of dumpsys-service.conf to 644

Change-Id: I3c0edce328b555074850107dd8cde78998b15f0e

4 years agoFix coverity issue - memory leak 87/229887/1
Mateusz Moscicki [Mon, 6 Apr 2020 07:58:57 +0000 (09:58 +0200)]
Fix coverity issue - memory leak

Change-Id: I889c26f9f254519eb8b4b26b8708d49dbbddd092

4 years agoMerge branch 'tizen' into tizen_5.5 31/228631/1 accepted/tizen/5.5/unified/20200326.232259 submit/tizen_5.5/20200324.144405
Mateusz Moscicki [Tue, 24 Mar 2020 08:01:58 +0000 (09:01 +0100)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I1dc4c7201d0c5896d5aaeac9ff460ea7728bab00

4 years agoRelease 2.0.3 30/228630/1 submit/tizen/20200324.144047 submit/tizen/20200330.114718
Mateusz Moscicki [Tue, 24 Mar 2020 07:57:16 +0000 (08:57 +0100)]
Release 2.0.3

Change-Id: Ib9463330f8a78df3a26685e50c7bf261015251c3

4 years agoFix coverity issues - memory leaks 12/228612/2
Mateusz Moscicki [Tue, 24 Mar 2020 06:51:24 +0000 (07:51 +0100)]
Fix coverity issues - memory leaks

Change-Id: I6c96a07b52a01b16b6e823d39b9b2a55e45ffbc5

4 years agoMerge branch 'tizen' into tizen_5.5 30/228530/1 accepted/tizen/5.5/unified/20200324.134405 submit/tizen_5.5/20200323.123201
Mateusz Moscicki [Mon, 23 Mar 2020 12:10:03 +0000 (13:10 +0100)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I0a7116e330c60643807c71f99babefb893f1ccb0

4 years agoRelease 2.0.2 24/228524/3 submit/tizen/20200323.123127
Mateusz Moscicki [Mon, 23 Mar 2020 11:19:04 +0000 (12:19 +0100)]
Release 2.0.2

Change-Id: Ifd269f0658e30cd4784180de99942705ced649e8

4 years agoFix memory leak 23/228523/3
Mateusz Moscicki [Mon, 23 Mar 2020 09:29:16 +0000 (10:29 +0100)]
Fix memory leak

Change-Id: Iecddd0c97022afd4c3f17a5b988d1156b1e5c7b6

4 years agoMerge "Merge branch 'tizen' into tizen_5.5" into tizen_5.5
Karol Lewandowski [Fri, 20 Mar 2020 10:02:58 +0000 (10:02 +0000)]
Merge "Merge branch 'tizen' into tizen_5.5" into tizen_5.5

4 years agoMerge branch 'tizen' into tizen_5.5 49/228349/1 accepted/tizen/5.5/unified/20200321.004523 submit/tizen_5.5/20200320.100328
Karol Lewandowski [Fri, 20 Mar 2020 09:45:14 +0000 (10:45 +0100)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I5a745d748e4e168e32ad3f404575412b2d307c30

4 years agoRelease 2.0.1 45/228345/1 accepted/tizen/unified/20200321.043824 submit/tizen/20200320.094345
Karol Lewandowski [Fri, 20 Mar 2020 09:10:04 +0000 (10:10 +0100)]
Release 2.0.1

Current implementation is the second implementation of dumpsys
functionality, mark it as such.

Change-Id: I0a59fe376477f12a06155b8f87f1ae97222b6f56

4 years agopackaging: Ensure shell users can use dumpsys without restriction 44/228344/1
Karol Lewandowski [Fri, 20 Mar 2020 08:50:21 +0000 (09:50 +0100)]
packaging: Ensure shell users can use dumpsys without restriction

Change-Id: Ibac06670ac5965fc1acb3211b53aa64e7d2040c9

4 years agoMerge branch 'tizen' into tizen_5.5 34/227634/1 accepted/tizen/5.5/unified/20200317.160048 submit/tizen_5.5/20200313.114729
Mateusz Moscicki [Fri, 13 Mar 2020 11:04:33 +0000 (12:04 +0100)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I9caf0b8cb78a6595f77045dcbe64ea3103c1d755
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
4 years agoFix linking flags and permissions 33/227633/1 accepted/tizen/unified/20200316.220958 submit/tizen/20200313.114712
Mateusz Moscicki [Thu, 12 Mar 2020 14:16:14 +0000 (15:16 +0100)]
Fix linking flags and permissions

Change-Id: I27a8fd557b4bd47e94b05ce031c3848097dc41e3

4 years agoMerge branch 'tizen' into tizen_5.5 30/227230/1 submit/tizen_5.5/20200310.161509
Mateusz Moscicki [Tue, 10 Mar 2020 14:36:02 +0000 (15:36 +0100)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I96d0a721ec3223a66b207a5b62035cf501bd4e5f

4 years agoFix systemd service unit path 29/227229/1 submit/tizen/20200310.154349
Mateusz Moscicki [Tue, 10 Mar 2020 14:32:29 +0000 (15:32 +0100)]
Fix systemd service unit path

Change-Id: I42840c5366ed842276b5efa0a2c65f75cb66200f

4 years agoMerge branch 'tizen' into tizen_5.5 26/227226/1 submit/tizen/20200310.154423 submit/tizen_5.5/20200310.123202 submit/tizen_5.5/20200310.154831
Mateusz Moscicki [Tue, 10 Mar 2020 12:05:31 +0000 (13:05 +0100)]
Merge branch 'tizen' into tizen_5.5

Change-Id: Ifcd0a29516d299a98fe46f67119d59a6d7184181

4 years agoRelease 0.0.4 67/226967/5 submit/tizen/20200310.123145
Mateusz Moscicki [Fri, 6 Mar 2020 14:16:02 +0000 (15:16 +0100)]
Release 0.0.4

This version adds the dumpsys-service which is responsible for communication
between dumpsys tool and services or aplications

Change-Id: I5786a029239e6d44e1a8dad123a425f71e53e9da

4 years agoFix uninitialized variable error 25/227225/1
Mateusz Moscicki [Tue, 10 Mar 2020 12:00:24 +0000 (13:00 +0100)]
Fix uninitialized variable error

Change-Id: Ib21a8ea06ce1a7276fe4094f3a150b9edab9c0f8

4 years agoSeparate DBus policy configuration 66/226966/4
Mateusz Moscicki [Fri, 6 Mar 2020 14:15:44 +0000 (15:15 +0100)]
Separate DBus policy configuration

Change-Id: I15ff48ef59ddf1461ad57d978087a17546b3789f

4 years agoChange the prefix for services 65/226965/3
Mateusz Moscicki [Fri, 6 Mar 2020 14:08:41 +0000 (15:08 +0100)]
Change the prefix for services

Change-Id: Ie0f88fe58299cb1d9818e791513d0999a847fefe

4 years agoRemove system agent 54/226954/2
Mateusz Moscicki [Fri, 6 Mar 2020 10:23:17 +0000 (11:23 +0100)]
Remove system agent

Change-Id: I99d03fea64aceddb332681bc15e4c39866713926

4 years agoRemove session agent 87/226287/7
Mateusz Moscicki [Tue, 25 Feb 2020 14:07:17 +0000 (15:07 +0100)]
Remove session agent

Change-Id: I26a6394635130eabad8aaedd5b0ecd9fa11ff6a2

4 years agoAdd system tests for dumpsys 86/226286/7
Mateusz Moscicki [Wed, 29 Jan 2020 13:02:03 +0000 (14:02 +0100)]
Add system tests for dumpsys

Change-Id: I8f42f0a37f8b94656b8485d71b33f5887f0faef9

4 years agoAdd library providing API for user app services. 85/226285/7
Mateusz Moscicki [Thu, 27 Feb 2020 16:58:01 +0000 (17:58 +0100)]
Add library providing API for user app services.

Change-Id: Idd1c4b763a6377912d62fa38a0d79a83a09b5122

4 years agoModify dumpsys architecture 67/222967/8
Mateusz Moscicki [Tue, 21 Jan 2020 15:12:48 +0000 (16:12 +0100)]
Modify dumpsys architecture

This commit introduces a dumpsys-service which is responsible for
communication between dumpsys tool and service or application.
dumpsys-service creates a fifo pipe, and sends one of its ends to
dumpsys-agents. If agent confirms that requested application exists on
its bus, then dumpsys-service returns second end of pipe to dumpsys
tool. After that dumpsys tool can read the data written by requested
application or service.

Change-Id: I40545c260d5c9367da6af4454151293f7e3d1a3b

4 years agoMerge branch 'tizen' into tizen_5.5 accepted/tizen/5.5/unified/20200219.130241 submit/tizen_5.5/20200214.135447 submit/tizen_5.5/20200217.093358 submit/tizen_5.5/20200218.074222
Karol Lewandowski [Fri, 14 Feb 2020 13:53:49 +0000 (14:53 +0100)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I9d9fe92ac8177671029e8243c5b29ec4f3aa8fb8

4 years agoFix: drop duplicate test 12/225012/1 accepted/tizen/unified/20200217.213845 submit/tizen/20200214.135133
Karol Lewandowski [Fri, 14 Feb 2020 13:20:38 +0000 (14:20 +0100)]
Fix: drop duplicate test

Change-Id: Ie048642cb7bc5a6d0448843d776e33efc6b21225

4 years agoDo not leak write_fd in call_dump error path
Karol Lewandowski [Fri, 14 Feb 2020 13:09:45 +0000 (14:09 +0100)]
Do not leak write_fd in call_dump error path

Change-Id: I1ac5ca3a3987c2334e013bd52f304aa5fa0f9f58

4 years agoDo not leak fifo_path 81/224581/1 accepted/tizen/5.5/unified/20200213.035343 submit/tizen_5.5/20200212.084821
Karol Lewandowski [Tue, 11 Feb 2020 15:26:08 +0000 (16:26 +0100)]
Do not leak fifo_path

Change-Id: Ib8ed78d09c3ab0438f6786d91c86c8ae6d1f1f2f
(cherry picked from commit bb5afc237868973b3acd6a1873c2e32bb119e78e)

4 years agoDo not leak fifo_path 79/224579/1 accepted/tizen/unified/20200212.125745 submit/tizen/20200211.161552 submit/tizen_5.5/20200211.155751 submit/tizen_5.5/20200211.161648 submit/tizen_6.0/20200211.155831
Karol Lewandowski [Tue, 11 Feb 2020 15:26:08 +0000 (16:26 +0100)]
Do not leak fifo_path

Change-Id: Ib8ed78d09c3ab0438f6786d91c86c8ae6d1f1f2f

4 years agoAdd dumpsys API library accepted/tizen/5.5/unified/20200124.120351 accepted/tizen/unified/20200123.005120 submit/tizen/20200121.121857 submit/tizen_5.5/20200123.115131
Mateusz Moscicki [Thu, 31 Oct 2019 12:24:09 +0000 (13:24 +0100)]
Add dumpsys API library

Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
Change-Id: I4f27610c7facfc48bc532bb5a943beb699a41dfd

4 years agoInitial empty repository master
Tizen Infrastructure [Thu, 16 Jan 2020 00:38:29 +0000 (00:38 +0000)]
Initial empty repository