Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
'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
|
|
Change-Id: I8f549274fcc65c8a4fb8c5f1c289874c281ed964
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
|
|
- 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>
|
|
- 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>
|
|
'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>
|
|
|
|
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>
(cherry picked from commit 37138335b180b9c610c671c2103a00fd8a9fca82)
|
|
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>
(cherry picked from commit 2d15fe2785c4adf8cae34f7ea7b16a128f9439b2)
|
|
This reverts commit f4dc8f8166d34463ac1cbe4750fcadf5f364fc83.
Change-Id: Ic13032fd562ef5b124e223bada29bd57f89f6b8b
|
|
|
|
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>
|
|
* 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
|
|
Remove manual copy for license file in spec
Change-Id: Ie3288252dcf5f667d1bc3524439685d29fc18bfb
Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com>
|
|
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>
|
|
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>
|
|
Change-Id: Ibdc1cef11acc258bfed7e61303b648ace77bfd1f
|
|
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>
|
|
Change-Id: I179c4e25b033533004765661986b37078bd91c6f
Signed-off-by: Gihun Chang <gihun.chang@samsung.com>
|
|
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>
|
|
|
|
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>
|
|
This reverts commit 711777b1a5237d47e7fb94d9884ff93d71815872.
|
|
Change-Id: I785b755390f625e302117deab71c97bfa4f493a5
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
|
|
Change-Id: I0bd03aaadafd505808b4c21247c277cc283cdd63
|
|
Change-Id: I4ebcc3f05948405ce2078d77bbf2ca481e0f6a43
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: I369324d51d9684cdef17e662e85f09a349ff0785
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: Ia76b586c2ec8aae7482221a844c418971f6933e9
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: I4ddecf29c4918a641c6940f2910ae2e93b8a3754
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: I28ac6943b4eca24924cff0f5d8f2c57302a5df99
|
|
Change-Id: I1112a5f039cb147b8b64dc428f42e9e97523b2c5
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: I93776ee31c68253ad287c2b95748d163530c26eb
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: Ie3cba9e4c69c848ec88b4cad2e64c9c0a8c977e4
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
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>
|
|
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>
|
|
* 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>
|
|
Change-Id: Ifcd5fea6ec5c06655701acc6eb3f93aa30536070
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: I18e55286a01d03f07d5f386aa5f981e319158c51
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: I6f35ad1861ea2d5fee51f4690183d969b4b50f47
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Change-Id: I395a689e3d8c71a6806091738e7253ad91c208c9
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
|
|
Support AARCH64
Change-Id: I1c1b13289067d77cd4f36ceee249143c4ad54bcf
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
|
|
Migration ttrace from Tizen 2.4 repository
Change-Id: Ib70d79e7535a74a3681e5fc63eeaba27503923f8
Signed-off-by: joon.c.baek <joon.c.baek@samsung.com>
|