Change-Id: I65e3690142e4c50fc83bda7de5fe0bb30de77cd4
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
# Set required packages
INCLUDE(FindPkgConfig)
-SET(AUL-1_LIB_PKG_CHECK_MODULES dlog bundle xdgmime libtzplatform-config pkgmgr-info capi-system-info vconf sqlite3 iniparser gio-2.0 glib-2.0 libxml-2.0)
+SET(AUL-1_LIB_PKG_CHECK_MODULES dlog bundle xdgmime libtzplatform-config pkgmgr-info capi-system-info vconf sqlite3 iniparser gio-2.0 glib-2.0 libxml-2.0 ttrace)
IF (with_wayland)
pkg_check_modules(libpkgs REQUIRED ${AUL-1_LIB_PKG_CHECK_MODULES} wayland-client tizen-extension-client ecore-wayland)
ENDIF (with_wayland)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(iniparser)
BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(ttrace)
%if %{with wayland}
BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: pkgconfig(wayland-client)
#include <dirent.h>
#include <glib.h>
#include <gio/gio.h>
+#include <ttrace.h>
#include <bundle_internal.h>
int ret = 0;
bundle *b;
+ traceBegin(TTRACE_TAG_APPLICATION_MANAGER, "AUL:REQ_TO_PAD");
SECURE_LOGD("launch request : %s", appid);
if (kb == NULL) {
kb = bundle_create();
if (must_free)
bundle_free(kb);
+ traceEnd(TTRACE_TAG_APPLICATION_MANAGER);
+
return ret;
}