From: Rafal Krypa Date: Thu, 28 Mar 2013 11:11:00 +0000 (+0100) Subject: Add debug logging into app_install() and app_uninstall() X-Git-Tag: submit/tizen_2.2/20130714.151203~7^2~63 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5942bbd019473b58299d807db3fa5da5d3e2e4ad;p=framework%2Fsecurity%2Flibprivilege-control.git Add debug logging into app_install() and app_uninstall() [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 --- diff --git a/src/privilege-control.c b/src/privilege-control.c index 6188878..6e8f4bb 100644 --- a/src/privilege-control.c +++ b/src/privilege-control.c @@ -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;