Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-07-01 | make a gcov package for measuring coverage easiertizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201027.114701submit/tizen_5.5_wearable_hotfix/20201026.1843010submit/tizen_5.5_mobile_hotfix/20201027.114301submit/tizen_5.5_mobile_hotfix/20201026.1851010submit/tizen_5.5/20191031.000013submit/tizen_5.5/20191031.000011submit/tizen_5.5/20191031.000009submit/tizen/20190701.045532accepted/tizen/unified/20190702.114958accepted/tizen/5.5/unified/wearable/hotfix/20201027.091920accepted/tizen/5.5/unified/mobile/hotfix/20201027.061108accepted/tizen/5.5/unified/20191031.034044tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfix | joon.c.baek | 1 | -0/+30 | |
Change-Id: I8bc65b1d0767ad5cc940d6ebdb31cd622fca4c6f Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2018-07-31 | Add condition and change options for tracefssubmit/tizen_5.0/20181106.000001submit/tizen_5.0/20181101.000009submit/tizen/20180731.065338accepted/tizen/unified/20180801.080110accepted/tizen/5.0/unified/20181106.202433tizen_5.0accepted/tizen_5.0_unified | joon.c.baek | 1 | -1/+2 | |
To mount tracefs needs to check existed path, And add mount options in details. Change-Id: I9393c5629b8bf423d48ecec51fd4d99418d421cc Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2018-07-31 | Revert "Remove sys-kernel-debug-tracing.mount" | joon.c.baek | 3 | -1/+24 | |
'sys-kernel-debug-tracing.mount' was removed for resolving 'systemctl --state failed' issue. However, Add 'Options=remount,rw' to this file, it can be solution also. This reverts commit 0a2883bf7940b3ee138551434117d3ea63cbfb2a. Change-Id: I5d7f4f5236f7212f06f41bd7ddf815c3f548c85a | |||||
2018-07-31 | Resolve the service failed of ttrace-marker.service | joon.c.baek | 1 | -2/+2 | |
When ttrace-marker.service is executed twice, Second execution makes service failed because of already generated tag file what generated correctly. So, In this case(founding existed tag file) initEnabledTagFile() will return true. Change-Id: Ie4dbee288b1b8daa1231513a8be62bc6884e438b Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2018-07-31 | Remove sys-kernel-debug-tracing.mount | joon.c.baek | 3 | -24/+1 | |
Change-Id: I8f549274fcc65c8a4fb8c5f1c289874c281ed964 Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2017-11-27 | Change permission of /tmp/ttrace_tag and servicesubmit/tizen/20171128.025544submit/tizen/20171127.060630accepted/tizen/unified/20171130.063204 | joon.c.baek | 2 | -1/+3 | |
- Change permisstion of /tmp/ttrace_tag root -> system_fw - Assign User/Group to ttrace-marker.service root -> system_fw Change-Id: Ic48b0cfd347f56da2a052511e9e37edac539d033 Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2017-11-22 | Add sys-kernel-debug-tracing.mount filesubmit/tizen/20171123.075325accepted/tizen/unified/20171124.064548 | joon.c.baek | 4 | -20/+23 | |
- Add sys-kernel-debug-tracing.mount to replace sys-kernel.tracing.service. - This file can mount tracefs without /bin/touch executable. Change-Id: I035fc08243c95b09c39a70c46acecc758d7c7d1b Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2017-09-29 | Reomve capabilities in sys-kernel-tracing.servicesubmit/tizen/20171010.025828accepted/tizen/unified/20171010.162459 | joon.c.baek | 1 | -4/+0 | |
Assigning capabilities to sys-kernel-tracing.service causes fail in Odroid U3+, Raspberry Pi3 at Tizen:Unified(5.0). To resolve this issue, remove capabilities on tizen branch. Change-Id: I437d1f005703c0ab6bc6e01aeaf5315138b47cbb Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2017-09-19 | Assign capabilities 'cap_dac_override' to servicesubmit/tizen/20170925.022002accepted/tizen/unified/20170926.061839 | joon.c.baek | 1 | -0/+4 | |
'cap_dac_override' capabilities used inteaded of root permission of sys-kernel-tracing.service. Change-Id: I71870eab4c2a32ac3a904f9713f0cb73a2295126 Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2017-09-15 | Align indentation and remove build warningsubmit/tizen/20170915.063230 | joon.c.baek | 1 | -147/+154 | |
Used invalid type in printf(), change to correct type. Many code lines did keep a indentation, aligned indent for all of source codes. Change-Id: I7cc0438d061c734b5356accd9ff9ff0801f64ff6 | |||||
2017-09-15 | Resolve vulnerability about untrusted string | joon.c.baek | 2 | -78/+108 | |
The sceanario of bootup-trace has vulnerability about untrusted string loaded and execution. This patch changes how to execution and remove system() calling. And change open permission 0666 to 0600. Change-Id: Ibfc19a9c8c7ef43af084e8d6b7496bf59c12dfe5 Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2017-09-14 | Set Smack label to ttrace-marker.service | joon.c.baek | 1 | -0/+1 | |
Add SmackProcessLabel=System at ttrace-marker.service. Without this label, ttrace-marker.service will be worked as System::Privileged, This service is enough with System label. Change-Id: I8d588822713a7c7a376f4cbc24e870f3c33bfdbd Signed-off-by: joon.c.baek <joon.c.baek@samsung.com> | |||||
2017-08-01 | Remove build warnings with GCC 6.2submit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170828.100009submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170801.044617accepted/tizen/unified/20170803.010335accepted/tizen/4.0/unified/20170828.223019accepted/tizen/4.0/unified/20170816.015423 | Gihun Chang | 2 | -8/+8 | |
*For implicit declaration of function [-Wimplicit-function-declaration] . Add #include <stdio.h> prior to use of the function vsnprintf. *For Unused bariable [-Wunused-variable] . Remove it. Really Unused. . bufSize, buf, ret *For Ignoring return value of func() [-Wunused-result] . Remove the use of function by https://review.tizen.org/gerrit/#/c/124677/ Change-Id: I7e376cfc30078832141128d10b2e44cd598b9b56 | |||||
2017-08-01 | Revert "Remove build warnings with gcc 6.2" | Gihun Chang | 1 | -2/+2 | |
This reverts commit f4dc8f8166d34463ac1cbe4750fcadf5f364fc83. Change-Id: Ic13032fd562ef5b124e223bada29bd57f89f6b8b | |||||
2017-07-31 | Merge "Remove meaningless codes" into tizen | Gihun Chang | 1 | -2/+0 | |
2017-06-05 | Merge "Remove build warnings with gcc 6.2" into tizensubmit/tizen/20170605.012851accepted/tizen/unified/20170605.151226 | Gihun Chang | 1 | -2/+2 | |
2017-06-02 | Add traceFS mount service and adjust service ordersubmit/tizen/20170602.072408accepted/tizen/unified/20170602.155201 | Changjoon Baek | 4 | -44/+25 | |
4.x kernel splited traceFS and debugFS. /sys/kernel/debug/tracing and /tmp should be mounted before ttrace-marker.service started. - Add sys-kernel-tracing.service to mount tracefs to /sys/kernel/debug/tracing - Adjust ttrace-marker.service order to be after the sys-kernel-tracing.service Change-Id: I48f08bb8d4a31fa24b8508307812241a6fcb73b6 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2017-05-30 | Remove build warnings with gcc 6.2 | Gihun Chang | 1 | -2/+2 | |
* warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration] * warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] Change-Id: Ie400cc8fea6b99d08ab935198b60ec1767ac75c6 | |||||
2017-05-19 | Apply %license macrosubmit/tizen/20170522.043327accepted/tizen/unified/20170531.082331 | Changjoon Baek | 1 | -3/+1 | |
Remove manual copy for license file in spec Change-Id: Ie3288252dcf5f667d1bc3524439685d29fc18bfb Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2017-04-12 | Remove meaningless codes | Changjoon Baek | 1 | -2/+0 | |
tracing_init_dentry() auto-mount tracefs in kernel 4.10.x. This initializing is triggered fs_initcall. So, Removed code in this commit is meaningless. Change-Id: I9ae499131d6f7a8d2dd6e6c2c2d09e33585e3bf6 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2017-03-08 | Apply Tizen 3.0 Smack policy to ttrace pkg | Changjoon Baek | 5 | -222/+51 | |
Change smack labeling to using systemd tmpfiles instead of set_smacklabel() initializing Change-Id: I0e44ea62200929804c745175f73cd469b9b4623e Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2017-02-02 | Merge "Prepare for Tizen 4.0 Build" into tizentizen_4.0.m1_releasesubmit/tizen_unified/20170308.100420submit/tizen/20170202.230138accepted/tizen/wearable/20170203.023411accepted/tizen/unified/20170309.040840accepted/tizen/tv/20170203.023407accepted/tizen/mobile/20170203.023402accepted/tizen/ivi/20170203.023425accepted/tizen/common/20170203.161629accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_common | Gihun Chang | 1 | -1/+1 | |
2017-02-02 | Replace usage of deprecated libsmack function | Rafal Krypa | 1 | -1/+2 | |
The libsmack function smack_setlabel is deprecated and will be removed. Using the alternative instead. Change-Id: Ia02383700175ba1e4eb91c85e4aa17c4033290f6 Signed-off-by: Rafal Krypa <r.krypa@samsung.com> | |||||
2017-01-13 | Prepare for Tizen 4.0 Build | MyungJoo Ham | 1 | -1/+1 | |
I've assumed that Tizen 4.0 code is going to be more similar with 3.0 than 2.0. Please do not rely on string == compare for version check. Change-Id: I7465a0b1cd26de939f60190cf8e2227aa1e9e763 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> | |||||
2017-01-12 | Update support version of werable profile (3.0 -> 2.3.2) | Gihun Chang | 1 | -6/+6 | |
Change-Id: Icac243d8093e0460d74267d2a59e0e82c897163a | |||||
2016-12-23 | Merge branch 'tizen_3.0' into 'tizen' | Gihun Chang | 4 | -7/+10 | |
2016-12-22 | Update T-Trace version to 1.0.3res/for/tizen_3.0 | Gihun Chang | 1 | -1/+1 | |
Change-Id: Ibdc1cef11acc258bfed7e61303b648ace77bfd1f | |||||
2016-12-22 | Formatting help message | Gihun Chang | 1 | -2/+3 | |
Change-Id: I4a0f580006ae18cc55901f912fc11ad999f5f3be | |||||
2016-12-20 | Remove dependancy with libstdc++ | Changjoon Baek | 1 | -1/+1 | |
The dependancy with libstdc++ existed meaningless. Remove depandancy using "-fno-exceptions" option. Change-Id: I405922988bccebf5760be58586f98f5a392b319e Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-12-16 | Fix side effect on previous commitsubmit/tizen_3.0/20161216.083703submit/tizen_3.0.m2/20170104.093756accepted/tizen/3.0/wearable/20161219.012523accepted/tizen/3.0/tv/20161219.012517accepted/tizen/3.0/mobile/20161219.012514accepted/tizen/3.0/ivi/20161219.012527accepted/tizen/3.0/common/20161219.113529accepted/tizen/3.0.m2/wearable/20170105.030235accepted/tizen/3.0.m2/tv/20170105.030010accepted/tizen/3.0.m2/mobile/20170105.025841tizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobile | Gihun Chang | 2 | -2/+2 | |
Change-Id: Ice3dd142bb38b15fa331157d2b6b0ef9dd106b8e | |||||
2016-12-16 | Fix message overflowsubmit/tizen_3.0/20161216.045231 | Gihun Chang | 2 | -3/+5 | |
Change-Id: Iaa3a46b5d6550e02d3d5ea66d0213e44a2048779 | |||||
2016-12-05 | Use absolute path for execlp()submit/tizen_3.0/20161205.051821accepted/tizen/3.0/wearable/20161205.070021accepted/tizen/3.0/tv/20161205.070016accepted/tizen/3.0/mobile/20161205.070009accepted/tizen/3.0/ivi/20161205.070028accepted/tizen/3.0/common/20161206.125359 | Changjoon Baek | 1 | -1/+1 | |
Attacker can exploit by modified 'PATH' environment. Excuting system command have to use absolute path. Change-Id: Ided661e83c072684524c5ab8b73fc89db9842e13 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-12-05 | Use absolute path for execlp() | Changjoon Baek | 1 | -1/+1 | |
Attacker can exploit by modified 'PATH' environment. Excuting system command have to use absolute path. Change-Id: Ided661e83c072684524c5ab8b73fc89db9842e13 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-11-23 | Merge branch 'tizen' into tizen_3.0submit/tizen_3.0/20161123.094907accepted/tizen/3.0/wearable/20161124.025613accepted/tizen/3.0/tv/20161124.025555accepted/tizen/3.0/mobile/20161124.025539accepted/tizen/3.0/ivi/20161124.025631accepted/tizen/3.0/common/20161124.181706 | Gihun Chang | 3 | -233/+31 | |
2016-11-23 | Sync the package version with csapi.submit/tizen/20161123.094102accepted/tizen/wearable/20161123.233135accepted/tizen/tv/20161123.233116accepted/tizen/mobile/20161123.233057accepted/tizen/ivi/20161123.233155accepted/tizen/common/20161124.170018 | Gihun Chang | 1 | -1/+1 | |
Change-Id: I179c4e25b033533004765661986b37078bd91c6f Signed-off-by: Gihun Chang <gihun.chang@samsung.com> | |||||
2016-11-23 | Skip the initialization of kernel event when atrace run with --append option. | Gihun Chang | 1 | -13/+12 | |
Change-Id: I49fcc426b831cb28b951d0133d2bd61f6c478a8f Signed-off-by: Gihun Chang <gihun.chang@samsung.com> | |||||
2016-11-22 | Add destructor to libttrace | Changjoon Baek | 1 | -0/+18 | |
T-trace doesn't considering the case of dlclose(). If some package that use traceBegin, traceEnd call dlopen(), dlclose() repeatly, happen fd leakage at ttrace_tmp, trace_marker. So, Add destructor function libttrace_fini() that close all of opened file descriptor. Change-Id: I6431b404827d160adb8176eefd7bd7f4fce620ef Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-11-21 | Remove codes related with Android | Changjoon Baek | 1 | -219/+0 | |
T-trace forked from Android project. Codes that related with the Android platform remained at atrace.cpp. Remove unused code at the Tizen platform to enhance readability, maintainance. Change-Id: Ifc926115dd5a64e1be47f7d23d457f35dd849f62 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-11-03 | Merge branch 'tizen' into tizen_3.0submit/tizen_3.0_common/20161110.084657submit/tizen_3.0/20161102.235426accepted/tizen/3.0/wearable/20161103.044514accepted/tizen/3.0/tv/20161103.044456accepted/tizen/3.0/mobile/20161103.044434accepted/tizen/3.0/ivi/20161103.044534accepted/tizen/3.0/common/20161114.082701 | Gihun Chang | 4 | -74/+25 | |
2016-10-21 | Remove usages of extension functionssubmit/tizen_3.0_common/20161104.104000submit/tizen/20161026.074554accepted/tizen/wearable/20161028.151457accepted/tizen/tv/20161028.151455accepted/tizen/mobile/20161028.151452accepted/tizen/ivi/20161028.151500accepted/tizen/common/20161026.134617 | Changjoon Baek | 4 | -74/+25 | |
Remove usages of extension functions to prevent accessing to uninitialized fd(trace_marker). T-trace check whether initialing by isTagEnabled(), However, g_extension_state can permit accessing to uninitialized fd at all of write(). And, extension feature was not used anymore. Additionally, Use TTRACE_LOG() instead of fprintf(), remove useless spaces for clean codes. Change-Id: Iacf9f899378b4d9fb29f639f475e6624cee08d66 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-10-13 | Merge "Add defence codes to prevent unexpected behavior" into tizensubmit/tizen_3.0/20161028.092423submit/tizen_3.0/20161028.062323submit/tizen/20161026.042356submit/tizen/20161023.232219submit/tizen/20161013.085632accepted/tizen/wearable/20161014.022418accepted/tizen/tv/20161014.022325accepted/tizen/mobile/20161014.022535accepted/tizen/ivi/20161014.022408accepted/tizen/common/20161013.160625accepted/tizen/3.0/wearable/20161028.150809accepted/tizen/3.0/tv/20161028.143439accepted/tizen/3.0/mobile/20161028.143207accepted/tizen/3.0/ivi/20161028.151232 | Gihun Chang | 1 | -11/+49 | |
2016-10-13 | Add defence codes to prevent unexpected behavior | Changjoon Baek | 1 | -11/+49 | |
Check parameters of write system call (buf, len, fd) If find out currupted parameters, return immediately. Change-Id: I035223f3f2d2a07c877872e7a24db158d77a35b3 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-09-21 | Applied APACHE2.0 boilerplate notice to .c files | Changjoon Baek | 2 | -38/+24 | |
Applied APACHE2.0 boilerplate notice to trace.c, ttrace.c, These files had owned older SLP boilerplate. It should be replaced. Change-Id: Ib064f2552c510d6a3352a631efe3bff395c4d05d Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-08-30 | Merge "Add comment in spec file to avoid misunderstandings" into tizensubmit/tizen_3.0_wearable/20161015.000006submit/tizen_3.0_tv/20161015.000006submit/tizen_3.0_mobile/20161015.000007submit/tizen_3.0_ivi/20161010.000007submit/tizen/20160831.045905accepted/tizen/wearable/20160831.124939accepted/tizen/tv/20160831.124926accepted/tizen/mobile/20160831.124921accepted/tizen/ivi/20160831.124953accepted/tizen/common/20160831.161839accepted/tizen/3.0/wearable/20161015.084438accepted/tizen/3.0/tv/20161016.010023accepted/tizen/3.0/mobile/20161015.034346accepted/tizen/3.0/ivi/20161011.065143 | Gihun Chang | 1 | -0/+1 | |
2016-08-29 | Merge "Rename 'TTRACE_TAG_DEBUG' to 'TTRACE_TAG_PERFTEST'" into tizensubmit/tizen/20160831.011831 | Jonghwa Lee | 2 | -2/+2 | |
2016-08-29 | Add comment in spec file to avoid misunderstandings | MyungJoo Ham | 1 | -0/+1 | |
The build macro "tizen_profile_name" is not used in Tizen.org OBS (build.tizen.org), but it can be used by vendors to enable optional features. This patch clarifies that such a macro is not for Tizen.org OBS. Change-Id: I43bc94b0d29c429d6021efff27a667a4b3c5644f Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> | |||||
2016-08-25 | Rename 'TTRACE_TAG_DEBUG' to 'TTRACE_TAG_PERFTEST' | Jonghwa Lee | 2 | -2/+2 | |
Change-Id: Ic0053ad161feed30fe29c99884489192f8b3b7ab Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> | |||||
2016-08-23 | Add '-e' option to exclude specific tags.submit/tizen/20160824.060303accepted/tizen/wearable/20160825.000811accepted/tizen/tv/20160825.000755accepted/tizen/mobile/20160825.000740accepted/tizen/ivi/20160825.000825accepted/tizen/common/20160824.154823 | Changjoon Baek | 1 | -10/+38 | |
Add '-e' option to exclude specific tags, for example, If you don't want to see 'wm' tag, $ atrace -e wm Also, 'am', 'gfx' tags $ atrace -e wm -e am -e gfx Change-Id: I94f0af6a52876a870a65301ae0a70a95ad751c10 Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com> | |||||
2016-08-18 | Add extra tag TTRACE_TAG_DEBUG for TV profile.submit/tizen/20160819.010811accepted/tizen/common/20160819.131040 | Jonghwa Lee | 2 | -0/+2 | |
For some specific demands, it adds extra tag 'DEBUG' for TV profile. The tag will be used for logging miscellaneous stuff. This tag is only avaliable on TV profile. Change-Id: I81575e9bd0ebaaeb073bc1c6b48774f656a4a27a Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> | |||||
2016-08-08 | Revert "Assign UID/GID" | joon.c.baek | 2 | -7/+5 | |
This reverts commit 711777b1a5237d47e7fb94d9884ff93d71815872. |