Add unwindsyms data always for commands mentioned via -c/-x.
* What's new in version 4.7, PRERELEASE
+- target processes given with the -c/-x parameters are now always
+ added to the -d list for possible symbol/unwind data extraction,
+ for simplifying profiling invocations. Consider --ldd.
+
* What's new in version 4.6, 2021-11-15
- SystemTap has added support for the 64-bit RISC-V architecture.
}
}
+ // add the -c CMD / -x PID into the unwindsyms list as if -d ... were given
+ try {
+ if (cmd != "" || target_pid != 0)
+ additional_unwindsym_modules.insert(resolve_path(find_executable(cmd_file(),
+ sysroot, sysenv)));
+ } catch (...) { }
+
for (std::set<std::string>::iterator it = additional_unwindsym_modules.begin();
it != additional_unwindsym_modules.end();
it++)