misc: tegra-profiler: Do not expose kernel IPs
[linux-2.6.git] / drivers / misc / tegra-profiler / main.c
index 71b9554..dc46c6d 100644 (file)
@@ -170,6 +170,9 @@ static int set_parameters(struct quadd_parameters *param, uid_t *debug_app_uid)
                        *debug_app_uid = uid;
                        pr_info("debug_app_uid: %u\n", uid);
                }
+               ctx.collect_kernel_ips = 0;
+       } else {
+               ctx.collect_kernel_ips = 1;
        }
 
        for (i = 0; i < param->nr_pids; i++)