sysprof/recording-template: Comment out debuginfod handling and clean up TODOs

Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
This commit is contained in:
2025-02-01 23:34:05 +05:30
parent 0c5f0c3c65
commit 7ed0668a66

View File

@ -625,8 +625,8 @@ sysprof_recording_template_apply (SysprofRecordingTemplate *self,
if (self->bundle_symbols)
sysprof_profiler_add_instrument (profiler, sysprof_symbols_bundle_new ());
if (self->debuginfod) /*TODO: This just uses an a preexisting function. Write the real function*/
sysprof_profiler_add_instrument (profiler, sysprof_symbols_bundle_new ());
// if (self->debuginfod) /*TODO: This just uses an a preexisting function.*/
// sysprof_profiler_add_instrument (profiler, this_should_be_a_handler_function());
if (self->cpu_usage)
sysprof_profiler_add_instrument (profiler, sysprof_cpu_usage_new ());
@ -798,10 +798,7 @@ sysprof_recording_template_create_loader (SysprofRecordingTemplate *self,
sysprof_document_loader_set_symbolizer (loader, SYSPROF_SYMBOLIZER (multi));
#if HAVE_DEBUGINFOD
#if 0
/* TODO: add enable-debuginfod property. */
if (self->enable_debuginfod)
#endif
if (self->debuginfod)
{
g_autoptr(SysprofSymbolizer) debuginfod = NULL;
g_autoptr(GError) debuginfod_error = NULL;