diff options
author | Eunji, Lee <eunjieji.lee@samsung.com> | 2016-02-25 16:40:21 +0900 |
---|---|---|
committer | Eunji, Lee <eunjieji.lee@samsung.com> | 2016-02-25 16:45:05 +0900 |
commit | 9893bee16ba75688528047b4d861851950d7a5a5 (patch) | |
tree | 8bfca72a50f71f4e927da0c04c7074eeee4dbdb2 | |
parent | 2e451decb0003122681559f2bd60e46535893701 (diff) | |
download | ttrace-9893bee16ba75688528047b4d861851950d7a5a5.tar.gz ttrace-9893bee16ba75688528047b4d861851950d7a5a5.tar.bz2 ttrace-9893bee16ba75688528047b4d861851950d7a5a5.zip |
modify indentations and commentssubmit/tizen_common/20160229.190608submit/tizen/20160228.234815submit/tizen/20160225.080544accepted/tizen/wearable/20160229.095437accepted/tizen/wearable/20160226.041113accepted/tizen/tv/20160229.095417accepted/tizen/tv/20160226.041056accepted/tizen/mobile/20160229.095402accepted/tizen/mobile/20160226.041043accepted/tizen/ivi/20160229.095501accepted/tizen/ivi/20160226.041125accepted/tizen/common/20160301.120627
Change-Id: I93776ee31c68253ad287c2b95748d163530c26eb
Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
-rw-r--r-- | include/trace.h | 4 | ||||
-rwxr-xr-x | packaging/exec-ttrace-marker | 23 |
2 files changed, 23 insertions, 4 deletions
diff --git a/include/trace.h b/include/trace.h index 4398680..3677114 100644 --- a/include/trace.h +++ b/include/trace.h @@ -40,8 +40,8 @@ extern "C" { * @since_tizen 2.4 */ typedef enum { - TRACE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ - TRACE_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR /**< I/O error */ + TRACE_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ + TRACE_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR /**< I/O error */ } trace_error_e; /** diff --git a/packaging/exec-ttrace-marker b/packaging/exec-ttrace-marker index 2269efd..ef52ffb 100755 --- a/packaging/exec-ttrace-marker +++ b/packaging/exec-ttrace-marker @@ -1,5 +1,5 @@ #!/bin/bash - +# Note: This file has been deprecated tag="/tmp/ttrace_tag" conf="/etc/ttrace.conf" change_permission="--update" @@ -13,64 +13,83 @@ function init_perms(){ chown root:developer /sys/kernel/debug/tracing/trace_marker chmod 0222 /sys/kernel/debug/tracing/trace_marker chsmack -a '*' /sys/kernel/debug/tracing/trace_marker + chown root:developer /sys/kernel/debug/tracing/trace_clock chmod 0664 /sys/kernel/debug/tracing/trace_clock - chsmack -a '*' /sys/kernel/debug/tracing/trace_clock + chown root:developer /sys/kernel/debug/tracing/buffer_size_kb chmod 0664 /sys/kernel/debug/tracing/buffer_size_kb chsmack -a '*' /sys/kernel/debug/tracing/buffer_size_kb + chown root:developer /sys/kernel/debug/tracing/options/overwrite chmod 0664 /sys/kernel/debug/tracing/options/overwrite chsmack -a '*' /sys/kernel/debug/tracing/options/overwrite + chown root:developer /sys/kernel/debug/tracing/options/print-tgid chmod 0664 /sys/kernel/debug/tracing/options/print-tgid chsmack -a '*' /sys/kernel/debug/tracing/options/print-tgid + chown root:developer /sys/kernel/debug/tracing/events/sched/sched_switch/enable chmod 0664 /sys/kernel/debug/tracing/events/sched/sched_switch/enable chsmack -a '*' /sys/kernel/debug/tracing/events/sched/sched_switch/enable + chown root:developer /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable chmod 0664 /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable chsmack -a '*' /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable + chown root:developer /sys/kernel/debug/tracing/events/power/cpu_frequency/enable chmod 0664 /sys/kernel/debug/tracing/events/power/cpu_frequency/enable chsmack -a '*' /sys/kernel/debug/tracing/events/power/cpu_frequency/enable + chown root:developer /sys/kernel/debug/tracing/events/power/clock_set_rate/enable chmod 0664 /sys/kernel/debug/tracing/events/power/clock_set_rate/enable chsmack -a '*' /sys/kernel/debug/tracing/events/power/clock_set_rate/enable + chown root:developer /sys/kernel/debug/tracing/events/cpufreq_interactive/enable chmod 0664 /sys/kernel/debug/tracing/events/cpufreq_interactive/enable chsmack -a '*' /sys/kernel/debug/tracing/events/cpufreq_interactive/enable + chown root:developer /sys/kernel/debug/tracing/events/power/cpu_idle/enable chmod 0664 /sys/kernel/debug/tracing/events/power/cpu_idle/enable chsmack -a '*' /sys/kernel/debug/tracing/events/power/cpu_idle/enable + chown root:developer /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable chmod 0664 /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable chsmack -a '*' /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_enter/enable + chown root:developer /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable chmod 0664 /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable chsmack -a '*' /sys/kernel/debug/tracing/events/ext4/ext4_sync_file_exit/enable + chown root:developer /sys/kernel/debug/tracing/events/block/block_rq_issue/enable chmod 0664 /sys/kernel/debug/tracing/events/block/block_rq_issue/enable chsmack -a '*' /sys/kernel/debug/tracing/events/block/block_rq_issue/enable + chown root:developer /sys/kernel/debug/tracing/events/block/block_rq_complete/enable chmod 0664 /sys/kernel/debug/tracing/events/block/block_rq_complete/enable chsmack -a '*' /sys/kernel/debug/tracing/events/block/block_rq_complete/enable + chown root:developer /sys/kernel/debug/tracing/events/mmc/enable chmod 0664 /sys/kernel/debug/tracing/events/mmc/enable chsmack -a '*' /sys/kernel/debug/tracing/events/mmc/enable + chown root:developer /sys/kernel/debug/tracing/events/sync/enable chmod 0664 /sys/kernel/debug/tracing/events/sync/enable chsmack -a '*' /sys/kernel/debug/tracing/events/sync/enable + chown root:developer /sys/kernel/debug/tracing/events/workqueue/enable chmod 0664 /sys/kernel/debug/tracing/events/workqueue/enable chsmack -a '*' /sys/kernel/debug/tracing/events/workqueue/enable + chown root:developer /sys/kernel/debug/tracing/current_tracer chmod 0664 /sys/kernel/debug/tracing/current_tracer chsmack -a '*' /sys/kernel/debug/tracing/current_tracer + chown root:developer /sys/kernel/debug/tracing/tracing_on chmod 0664 /sys/kernel/debug/tracing/tracing_on chsmack -a '*' /sys/kernel/debug/tracing/tracing_on + chown root:developer /sys/kernel/debug/tracing/trace chmod 0660 /sys/kernel/debug/tracing/trace chsmack -a '*' /sys/kernel/debug/tracing/trace |