[PATCH -tip 1/8] [BUGFIX] perf-probe: Fix to do exit call for symbol maps

2014-01-22 Thread Masami Hiramatsu
Some perf-probe commands do symbol_init() but doesn't do exit call. This fixes that to call symbol_exit() and relase machine if needed. This also merges init_vmlinux() and init_user_exec() because both of them are doing similar things. (init_user_exec() just skips init vmlinux related symbol

[PATCH -tip 1/8] [BUGFIX] perf-probe: Fix to do exit call for symbol maps

2014-01-22 Thread Masami Hiramatsu
Some perf-probe commands do symbol_init() but doesn't do exit call. This fixes that to call symbol_exit() and relase machine if needed. This also merges init_vmlinux() and init_user_exec() because both of them are doing similar things. (init_user_exec() just skips init vmlinux related symbol