Add debug logging into app_install() and app_uninstall()
authorRafal Krypa <r.krypa@samsung.com>
Thu, 28 Mar 2013 11:11:00 +0000 (12:11 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 16 Apr 2013 12:55:00 +0000 (14:55 +0200)
[Issue#]       N/A
[Feature]      Need to track calls into new API functions.
[Cause]        Debug logs "Enter function" missing for these two.
[Solution]     Add logging on functions entry.
[Verification] Build

Change-Id: I0a7e36451c2242df0e857ac5f051c662501de9c4

src/privilege-control.c

index 6188878..6e8f4bb 100644 (file)
@@ -947,6 +947,7 @@ out:
 
 API int app_install(const char* app_id)
 {
+       C_LOGD("Enter function: %s", __func__);
        char* smack_path = NULL;
        int ret, fd = -1;
 
@@ -973,6 +974,7 @@ out:
 
 API int app_uninstall(const char* app_id)
 {
+       C_LOGD("Enter function: %s", __func__);
        char* smack_path = NULL;
        int ret;