change usb control process name to usb-server
[framework/system/system-server.git] / ss_log.c
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15 */
16
17
18 #ifdef DEBUG
19 void __cyg_profile_func_enter(void *, void *)
20     __attribute__ ((no_instrument_function));
21 void __cyg_profile_func_exit(void *, void *)
22     __attribute__ ((no_instrument_function));
23
24 int g_trace_depth = -2;
25
26 void __cyg_profile_func_enter(void *func, void *caller)
27 {
28         g_trace_depth++;
29 }
30
31 void __cyg_profile_func_exit(void *func, void *caller)
32 {
33         g_trace_depth--;
34 }
35 #endif