Fix unchanged function name in lib_ttrace.c and readme file
authorAhreum Jeong <ahreum.jeong@samsung.com>
Wed, 30 Aug 2017 10:04:32 +0000 (19:04 +0900)
committerAhreum Jeong <ahreum.jeong@samsung.com>
Wed, 30 Aug 2017 10:24:50 +0000 (19:24 +0900)
- trace_begin/end_u -> trace_begin/end_uid
- create_packet_u -> create_packet_uid

apps/examples/testcase/le_tc/ttrace/ReadMe.txt
lib/libc/ttrace/lib_ttrace.c

index 5fe467e..f8ae80c 100644 (file)
@@ -1,11 +1,11 @@
-Readme -> ttrace_tc_main
+Readme -> ttrace_tc
 ~~~~~~~~~~~~~~~~~~~~
 
 This is a sample application to perform T-trace operations.
 
 Steps:
 1. Run ttrace executable($ ttrace -s apps libs lock ipc)
-2. Run ttrace sample application($ ttrace_tc_sample)
+2. Run ttrace sample application($ ttrace_tc)
 3. Finish ttrace executable($ ttrace -f, $ ttrace -p)
 
 List of APIs:
@@ -16,10 +16,10 @@ Example:
     trace_begin(TTRACE_TAG_APPS, "Begin")
 
 2. To mark starting point with unique id:
-void trace_begin(int tag, int8_t uid)
+void trace_begin_uid(int tag, int8_t uid)
 Example:
     int id = 1234;
-    trace_begin(TTRACE_TAG_APPS, id)
+    trace_begin_uid(TTRACE_TAG_APPS, id)
 
 3. To mark end point pair with trace_begin:
 void trace_end(int tag)
@@ -27,7 +27,7 @@ Example:
     trace_end(TTRACE_TAG_APPS)
 
 4. To mark end point pair with trace_begin_u:
-void trace_end_u(int tag)
+void trace_end_uid(int tag)
 Example:
     trace_end_u(TTRACE_TAG_APPS)
 
index e093ea3..105d94f 100644 (file)
@@ -325,7 +325,7 @@ int trace_end(int tag)
                return TTRACE_INVALID;
        }
 
-       ret = create_packet_u(&packet, TTRACE_EVENT_TYPE_END, 0);
+       ret = create_packet_uid(&packet, TTRACE_EVENT_TYPE_END, 0);
        if (ret == TTRACE_INVALID) {
                assert(0);
        }