tools/ttrace.git
8 years agochange the logic of start/stop to prevent T-trace from writing to the locked buffer 41/78441/3 master accepted/tizen/common/20160707.171122 accepted/tizen/ivi/20160706.082804 accepted/tizen/mobile/20160706.082718 accepted/tizen/tv/20160706.082707 accepted/tizen/wearable/20160706.082716 submit/tizen/20160706.042922
Eunji, Lee [Tue, 5 Jul 2016 12:16:06 +0000 (21:16 +0900)]
change the logic of start/stop to prevent T-trace from writing to the locked buffer
print out error msg only if ttrace is running on debug mode

Change-Id: Ic1ee96dbb3a619cdf92187f2f5490b50b3781464

8 years ago- add protection codes for preventing atrace from double initailization 31/78131/4 accepted/tizen/common/20160706.141733 accepted/tizen/ivi/20160705.101738 accepted/tizen/mobile/20160705.101854 accepted/tizen/tv/20160705.101809 accepted/tizen/wearable/20160705.101831 submit/tizen/20160705.082028
Eunji, Lee [Mon, 4 Jul 2016 10:06:12 +0000 (19:06 +0900)]
- add protection codes for preventing atrace from double initailization
- add protection codes for avoding tracing msg size overflow

Change-Id: I5415c94b5ed77c1fa805ff73d6d12fc10194085c
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoadd PATH environment to atrace-bootup.sh 91/77091/1 accepted/tizen/common/20160703.125943 accepted/tizen/ivi/20160629.021441 accepted/tizen/mobile/20160629.021518 accepted/tizen/tv/20160629.021323 accepted/tizen/wearable/20160629.021514 submit/tizen/20160628.124122 submit/tizen_common/20160701.180000
Eunji, Lee [Tue, 28 Jun 2016 12:37:00 +0000 (21:37 +0900)]
add PATH environment to atrace-bootup.sh

Change-Id: I4ebcc3f05948405ce2078d77bbf2ca481e0f6a43
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoremove redudant smack definitions 99/74099/1 accepted/tizen/common/20160614.143803 accepted/tizen/ivi/20160614.041617 accepted/tizen/mobile/20160614.041540 accepted/tizen/tv/20160614.041537 accepted/tizen/wearable/20160614.042355 submit/tizen/20160613.233213
Eunji, Lee [Mon, 13 Jun 2016 00:09:44 +0000 (09:09 +0900)]
remove redudant smack definitions

Change-Id: Ie566b7e95614c025d9bb7b572631af645f610940

8 years agoorganize build scripts 57/73257/1 accepted/tizen/common/20160607.194748 accepted/tizen/ivi/20160607.235532 accepted/tizen/mobile/20160607.235535 accepted/tizen/tv/20160607.235501 accepted/tizen/wearable/20160607.235512 submit/tizen/20160607.095726
Eunji, Lee [Tue, 7 Jun 2016 09:35:38 +0000 (18:35 +0900)]
organize build scripts

Change-Id: I369324d51d9684cdef17e662e85f09a349ff0785
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoadd ttrace_exension_write() call to trace APIs 11/71611/1
Eunji, Lee [Thu, 26 May 2016 07:01:51 +0000 (16:01 +0900)]
add ttrace_exension_write() call to trace APIs

Change-Id: Ia76b586c2ec8aae7482221a844c418971f6933e9
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoMerge branch 'master' into tizen accepted/tizen/common/20160526.145909 accepted/tizen/ivi/20160602.020647 accepted/tizen/mobile/20160602.020600 accepted/tizen/tv/20160602.020612 accepted/tizen/wearable/20160602.020635 submit/tizen/20160524.091253
Eunji, Lee [Tue, 24 May 2016 09:11:41 +0000 (18:11 +0900)]
Merge branch 'master' into tizen

8 years agoAdds command to auto-mount tracingfs for enabling ttrace on linux kernel >= 4.1 29/71129/1
Eunji, Lee [Tue, 24 May 2016 07:33:57 +0000 (16:33 +0900)]
Adds command to auto-mount tracingfs for enabling ttrace on linux kernel >= 4.1

Change-Id: I4ddecf29c4918a641c6940f2910ae2e93b8a3754
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoMerge branch 'master' into tizen accepted/tizen/common/20160511.141931 accepted/tizen/ivi/20160512.050452 accepted/tizen/mobile/20160512.050444 accepted/tizen/tv/20160512.050449 accepted/tizen/wearable/20160512.050428 submit/tizen/20160510.111553
Eunji, Lee [Tue, 10 May 2016 11:14:03 +0000 (20:14 +0900)]
Merge branch 'master' into tizen

8 years agoincrease default buf size to 1024 and add protection code for changes of _SC_GETGR_R_... 21/68921/2
Eunji, Lee [Tue, 10 May 2016 10:43:43 +0000 (19:43 +0900)]
increase default buf size to 1024 and add protection code for changes of _SC_GETGR_R_SIZE_MAX

Change-Id: I6abbe0da54442eb1172b0d611700b51d83c62e00

8 years agoMerge branch 'master' into tizen accepted/tizen/common/20160504.125859 accepted/tizen/ivi/20160504.011242 accepted/tizen/mobile/20160504.011147 accepted/tizen/tv/20160504.011208 accepted/tizen/wearable/20160504.011223 submit/tizen/20160503.075323
Eunji, Lee [Tue, 3 May 2016 07:51:53 +0000 (16:51 +0900)]
Merge branch 'master' into tizen

8 years agofix svace issue - PROC_USE.VULNERABLE 72/68272/1
Eunji, Lee [Tue, 3 May 2016 07:33:51 +0000 (16:33 +0900)]
fix svace issue - PROC_USE.VULNERABLE

Change-Id: Iac00cf6c8efd6aebbcb3c8f5a3e3d09c2361fb9c

8 years agoMerge branch 'master' into tizen accepted/tizen/common/20160415.162644 accepted/tizen/ivi/20160418.012243 accepted/tizen/mobile/20160418.012255 accepted/tizen/tv/20160418.012236 accepted/tizen/wearable/20160418.012222 submit/tizen/20160415.090925
Eunji, Lee [Fri, 15 Apr 2016 09:07:38 +0000 (18:07 +0900)]
Merge branch 'master' into tizen

8 years agochange group name to support latest tizen 3.0 79/66079/1
Eunji, Lee [Fri, 15 Apr 2016 05:34:32 +0000 (14:34 +0900)]
change group name to support latest tizen 3.0

Change-Id: I28ac6943b4eca24924cff0f5d8f2c57302a5df99

8 years agoMerge branch 'master', remote-tracking branch 'origin/tizen' into tizen accepted/tizen/common/20160325.135201 submit/tizen/20160324.015904
Eunji, Lee [Thu, 24 Mar 2016 01:58:18 +0000 (10:58 +0900)]
Merge branch 'master', remote-tracking branch 'origin/tizen' into tizen

8 years agomodify public api version info for wearable profile 74/63274/1
Eunji, Lee [Wed, 23 Mar 2016 05:02:20 +0000 (14:02 +0900)]
modify public api version info for wearable profile

Change-Id: I0b1a65e24779aee8f01455bfe9275154c873b62f

8 years agoMerge branch 'master', remote-tracking branch 'origin/tizen' into tizen accepted/tizen/common/20160310.081250 accepted/tizen/ivi/20160310.055526 accepted/tizen/mobile/20160310.055427 accepted/tizen/tv/20160310.055446 accepted/tizen/wearable/20160310.055508 submit/tizen/20160309.065919 submit/tizen/20160310.050910
Eunji, Lee [Wed, 9 Mar 2016 06:58:00 +0000 (15:58 +0900)]
Merge branch 'master', remote-tracking branch 'origin/tizen' into tizen

8 years agofix fd handle leak in atrace.cpp and ttrace.c 49/61149/2
Eunji, Lee [Fri, 4 Mar 2016 07:56:04 +0000 (16:56 +0900)]
fix fd handle leak in atrace.cpp and ttrace.c

Change-Id: I1112a5f039cb147b8b64dc428f42e9e97523b2c5
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agomodify indentations and comments 39/60339/2 accepted/tizen/common/20160301.120627 accepted/tizen/ivi/20160226.041125 accepted/tizen/ivi/20160229.095501 accepted/tizen/mobile/20160226.041043 accepted/tizen/mobile/20160229.095402 accepted/tizen/tv/20160226.041056 accepted/tizen/tv/20160229.095417 accepted/tizen/wearable/20160226.041113 accepted/tizen/wearable/20160229.095437 submit/tizen/20160225.080544 submit/tizen/20160228.234815 submit/tizen_common/20160229.190608
Eunji, Lee [Thu, 25 Feb 2016 07:40:21 +0000 (16:40 +0900)]
modify indentations and comments

Change-Id: I93776ee31c68253ad287c2b95748d163530c26eb
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoadd TTRACE_TAG_EFL 51/60251/1 accepted/tizen/ivi/20160225.081753 accepted/tizen/mobile/20160225.081705 accepted/tizen/tv/20160225.081718 accepted/tizen/wearable/20160225.081740 submit/tizen/20160224.104940
Eunji, Lee [Wed, 24 Feb 2016 10:38:50 +0000 (19:38 +0900)]
add TTRACE_TAG_EFL

Change-Id: Idf74de606ca6a1d7977512d631ae4eeda1f9c73c
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoMerge branch 'master', remote-tracking branch 'origin/tizen' into tizen accepted/tizen/common/20160224.090717 accepted/tizen/ivi/20160219.002539 accepted/tizen/mobile/20160219.002444 accepted/tizen/tv/20160219.002500 accepted/tizen/wearable/20160219.002520 submit/tizen/20160218.101653 submit/tizen_common/20160223.134137 submit/tizen_common/20160223.144503
Eunji, Lee [Thu, 18 Feb 2016 10:09:32 +0000 (19:09 +0900)]
Merge branch 'master', remote-tracking branch 'origin/tizen' into tizen

8 years agosync with 2.4 branch (commit:1ae27085e86ce77d74922fc43a256a9e7108724e) 90/59390/1
Eunji, Lee [Mon, 15 Feb 2016 08:32:43 +0000 (17:32 +0900)]
sync with 2.4 branch (commit:1ae27085e86ce77d74922fc43a256a9e7108724e)

Change-Id: Ie3cba9e4c69c848ec88b4cad2e64c9c0a8c977e4
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoMerge branch 'master' into tizen accepted/tizen/ivi/20160223.234548 accepted/tizen/mobile/20160112.043244 accepted/tizen/tv/20160112.043308 accepted/tizen/wearable/20160112.043326 submit/tizen/20160112.015433 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160223.000000
joon.c.baek [Tue, 12 Jan 2016 01:53:54 +0000 (10:53 +0900)]
Merge branch 'master' into tizen

8 years agottrace: change perms. at tracing files 64/56664/3
joon.c.baek [Mon, 11 Jan 2016 23:43:06 +0000 (08:43 +0900)]
ttrace: change perms. at tracing files

Permission 0664 is not working atrace on Tizen3.0 targets(TM!).
Change to 0666 of related files.

Change-Id: Ia936a0f3db9b81cb4e2378f2687ade8f7d8e5f4b
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years agoMerge branch 'master' into tizen accepted/tizen/mobile/20160107.100328 accepted/tizen/tv/20160107.100401 accepted/tizen/wearable/20160107.100448 submit/tizen/20160106.023123
joon.c.baek [Wed, 6 Jan 2016 02:30:02 +0000 (11:30 +0900)]
Merge branch 'master' into tizen

8 years agottrace: sync with latest code at spin server 57/56257/1
joon.c.baek [Mon, 4 Jan 2016 08:13:38 +0000 (17:13 +0900)]
ttrace: sync with latest code at spin server

sync with below commit,
spin change id : I81a345fdbf66e54cfbf1f3bcf0797fd91188b93c
spin commit id : 34f2dfa9650369778681e43b0d45768c036bfcd7

Change-Id: Ia0bbe19f47a23361385a34510b6c4f1c6768ca62
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years agoMerge branch 'master' into tizen accepted/tizen/mobile/20151223.235917 accepted/tizen/tv/20151223.235947 accepted/tizen/wearable/20151224.000012 submit/tizen/20151223.061216 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
joon.c.baek [Wed, 23 Dec 2015 06:10:51 +0000 (15:10 +0900)]
Merge branch 'master' into tizen

8 years agospec: use macro '%cmake' instead of 'cmake' command 43/55143/1
joon.c.baek [Tue, 22 Dec 2015 07:43:35 +0000 (16:43 +0900)]
spec: use macro '%cmake' instead of 'cmake' command

Using 'cmake' command directly,
ttrace.pc file does not contain 'libdir' path corretly.
So, use '%cmake' macro to fix that problem.

Change-Id: Ic57e4405017491965da717b849b094f28e95038f
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
8 years agoMerge branches 'master' and 'tizen' into tizen tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.091428 accepted/tizen/tv/20150911.091441 accepted/tizen/wearable/20150911.091447 submit/tizen/20150911.005803 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Eunji, Lee [Fri, 11 Sep 2015 00:56:11 +0000 (09:56 +0900)]
Merge branches 'master' and 'tizen' into tizen

8 years agoMerge branch 'master', remote-tracking branch 'origin/tizen'
Eunji, Lee [Fri, 11 Sep 2015 00:55:09 +0000 (09:55 +0900)]
Merge branch 'master', remote-tracking branch 'origin/tizen'

8 years agoresolve smack permission issuses and update ttrace to the latest version 50/47950/2
Eunji, Lee [Thu, 10 Sep 2015 08:10:27 +0000 (17:10 +0900)]
resolve smack permission issuses and update ttrace to the latest version
* remarkable changes
- creates ttrace_tag file when boot-up the device
- provides static lib. version of ttrace library
- dynamically generates ttrace.h

Change-Id: I2e08d234e96e4d921e0a52d403fed34e21175105
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
8 years agoMerge branch 'master' into tizen accepted/tizen/mobile/20150812.110649 accepted/tizen/tv/20150812.110707 accepted/tizen/wearable/20150812.110714 submit/tizen/20150812.063120
joon.c.baek [Wed, 12 Aug 2015 06:30:11 +0000 (15:30 +0900)]
Merge branch 'master' into tizen

8 years agomodify ttrace.spec - change ttrace-marker.service install dir 53/45853/1
Eunji, Lee [Wed, 12 Aug 2015 01:24:53 +0000 (10:24 +0900)]
modify ttrace.spec - change ttrace-marker.service install dir

Change-Id: Ifcd5fea6ec5c06655701acc6eb3f93aa30536070
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
9 years agoMerge branch 'master', remote-tracking branch 'origin/tizen' into tizen accepted/tizen/mobile/20150701.121111 accepted/tizen/tv/20150701.121449 accepted/tizen/wearable/20150701.122944 submit/tizen/20150701.090258
Eunji, Lee [Wed, 1 Jul 2015 09:02:16 +0000 (18:02 +0900)]
Merge branch 'master', remote-tracking branch 'origin/tizen' into tizen

9 years agochange smack label to '_' 59/42659/1
Eunji, Lee [Wed, 1 Jul 2015 08:41:14 +0000 (17:41 +0900)]
change smack label to '_'

Change-Id: I18e55286a01d03f07d5f386aa5f981e319158c51
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
9 years agoMerge branch 'master', remote-tracking branch 'origin/tizen' accepted/tizen/mobile/20150630.195215 accepted/tizen/tv/20150630.195400 accepted/tizen/wearable/20150630.195544 submit/tizen/20150630.082257
Eunji, Lee [Tue, 30 Jun 2015 08:18:42 +0000 (17:18 +0900)]
Merge branch 'master', remote-tracking branch 'origin/tizen'

9 years ago[TTRACE] Sync. with T-trace package on tizen2.4 49/42549/1
Eunji, Lee [Tue, 30 Jun 2015 02:16:17 +0000 (11:16 +0900)]
[TTRACE] Sync. with T-trace package on tizen2.4

Change-Id: I6f35ad1861ea2d5fee51f4690183d969b4b50f47
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
9 years agoMerge branch 'master', remote-tracking branch 'origin/tizen' into tizen accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150609.181939 accepted/tizen/3.0.2015.q2/common/20150615.160022 accepted/tizen/common/20150609.084520 accepted/tizen/mobile/20150609.090059 accepted/tizen/tv/20150609.090115 accepted/tizen/wearable/20150609.090136 submit/tizen/20150609.034701 submit/tizen_3.0.2015.q2_common/20150609.170642 submit/tizen_3.0.2015.q2_common/20150615.075539
Eunji, Lee [Tue, 9 Jun 2015 01:56:59 +0000 (10:56 +0900)]
Merge branch 'master', remote-tracking branch 'origin/tizen' into tizen

9 years ago[TTRACE] Add Error code for UTC 63/40763/1
Eunji, Lee [Tue, 9 Jun 2015 01:24:10 +0000 (10:24 +0900)]
[TTRACE] Add Error code for UTC

Change-Id: I395a689e3d8c71a6806091738e7253ad91c208c9
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
9 years agoMerge "ttrace: Support AARCH64" accepted/tizen/common/20150602.115903 accepted/tizen/mobile/20150602.130547 accepted/tizen/tv/20150602.130601 accepted/tizen/wearable/20150602.130521 submit/tizen/20150602.035833
joon.c.baek [Wed, 27 May 2015 06:18:32 +0000 (23:18 -0700)]
Merge "ttrace: Support AARCH64"

9 years agottrace: Support AARCH64 87/39887/1
joon.c.baek [Tue, 26 May 2015 05:02:30 +0000 (14:02 +0900)]
ttrace: Support AARCH64

Support AARCH64

Change-Id: I1c1b13289067d77cd4f36ceee249143c4ad54bcf
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
9 years agottrace: Add MODULE_LICENSE_APACHE2 71/39771/1
Eunji, Lee [Fri, 22 May 2015 05:31:44 +0000 (14:31 +0900)]
ttrace: Add MODULE_LICENSE_APACHE2

Change-Id: I056f1d6825e66e414c81c60b5f8fb50a68cd8e71
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
9 years agottrace: Resolve build break 66/39766/1
joon.c.baek [Fri, 22 May 2015 04:53:44 +0000 (13:53 +0900)]
ttrace: Resolve build break

ttrace was migrated from Tizen 2.4 repository.
Build environments is not suitable with ttrace.
Remove including tizen2.4 header and UTC related codes.

This patch only support to build armv7l arch.
Need more work to build other architectures.
(arch64, x86, x86_64, etc,.)

Change-Id: I6d98b5c0e4c006cf99c4a8341c1cf91eed9b7aa1
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
9 years agottrace: Migration ttrace from Tizen 2.4 repository 65/39765/1
joon.c.baek [Fri, 22 May 2015 04:51:10 +0000 (13:51 +0900)]
ttrace: Migration ttrace from Tizen 2.4 repository

Migration ttrace from Tizen 2.4 repository

Change-Id: Ib70d79e7535a74a3681e5fc63eeaba27503923f8
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
9 years agoInitial empty repository
KyungMi Lee [Mon, 18 May 2015 05:39:45 +0000 (22:39 -0700)]
Initial empty repository