From 745967253c49e441d509696a96fb264fd7830db9 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 5 Jun 2023 15:05:21 -0700 Subject: [PATCH] libsysprof-profile: copy/paste fix --- src/libsysprof-profile/sysprof-sampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsysprof-profile/sysprof-sampler.c b/src/libsysprof-profile/sysprof-sampler.c index 17c0c994..b44940aa 100644 --- a/src/libsysprof-profile/sysprof-sampler.c +++ b/src/libsysprof-profile/sysprof-sampler.c @@ -225,7 +225,7 @@ sysprof_sampler_prepare_fiber (gpointer user_data) * different locations). Embed the kallsyms, but gzip it as * those files can be quite large. */ - dex_await (_sysprof_recording_add_file (recording, "/proc/kallsyms", TRUE), NULL); + dex_await (_sysprof_recording_add_file (prepare->recording, "/proc/kallsyms", TRUE), NULL); /* Now create a SysprofPerfEventStream for every CPU on the * system. Linux Perf will only let us create a stream for