mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: stash kallsyms from Perf instrument
That is the instrument that really provides things within the kernel address space, so it should be the instrument which copies the contents of kallsyms to the capture file (compressed).
This commit is contained in:
@ -272,8 +272,7 @@ sysprof_linux_instrument_prepare_fiber (gpointer user_data)
|
||||
/* First get some basic information about the system into the capture. We can
|
||||
* get the contents for all of these concurrently.
|
||||
*/
|
||||
if (!dex_await (dex_future_all (_sysprof_recording_add_file (recording, "/proc/kallsyms", TRUE),
|
||||
_sysprof_recording_add_file (recording, "/proc/cpuinfo", TRUE),
|
||||
if (!dex_await (dex_future_all (_sysprof_recording_add_file (recording, "/proc/cpuinfo", TRUE),
|
||||
_sysprof_recording_add_file (recording, "/proc/mounts", TRUE),
|
||||
NULL),
|
||||
&error))
|
||||
|
||||
Reference in New Issue
Block a user