To run it, do the following:
1. Set app type to 'App is already running'
2. Set app id to '\0' string
3. Set app path to '\0' string
4. Set all probes you want to be installed as library ones
5. Run SWAP
Change-Id: Ie0ebe941970caa858bf413c293dc653408902ff1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
switch (app_info->app_type) {
case AT_PID:
- if (app_info->tgid == 0)
- goto pf_dentry;
-
- *pfg = get_pf_group_by_tgid(app_info->tgid, dentry);
+ if (app_info->tgid == 0) {
+ if (app_info->exec_path[0] == '\0')
+ *pfg = get_pf_group_dumb(dentry);
+ else
+ goto pf_dentry;
+ } else
+ *pfg = get_pf_group_by_tgid(app_info->tgid, dentry);
break;
case AT_TIZEN_NATIVE_APP:
case AT_TIZEN_WEB_APP: