mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
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:
@ -625,8 +625,8 @@ sysprof_recording_template_apply (SysprofRecordingTemplate *self,
|
|||||||
if (self->bundle_symbols)
|
if (self->bundle_symbols)
|
||||||
sysprof_profiler_add_instrument (profiler, sysprof_symbols_bundle_new ());
|
sysprof_profiler_add_instrument (profiler, sysprof_symbols_bundle_new ());
|
||||||
|
|
||||||
if (self->debuginfod) /*TODO: This just uses an a preexisting function. Write the real function*/
|
// if (self->debuginfod) /*TODO: This just uses an a preexisting function.*/
|
||||||
sysprof_profiler_add_instrument (profiler, sysprof_symbols_bundle_new ());
|
// sysprof_profiler_add_instrument (profiler, this_should_be_a_handler_function());
|
||||||
|
|
||||||
if (self->cpu_usage)
|
if (self->cpu_usage)
|
||||||
sysprof_profiler_add_instrument (profiler, sysprof_cpu_usage_new ());
|
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));
|
sysprof_document_loader_set_symbolizer (loader, SYSPROF_SYMBOLIZER (multi));
|
||||||
|
|
||||||
#if HAVE_DEBUGINFOD
|
#if HAVE_DEBUGINFOD
|
||||||
#if 0
|
if (self->debuginfod)
|
||||||
/* TODO: add enable-debuginfod property. */
|
|
||||||
if (self->enable_debuginfod)
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
g_autoptr(SysprofSymbolizer) debuginfod = NULL;
|
g_autoptr(SysprofSymbolizer) debuginfod = NULL;
|
||||||
g_autoptr(GError) debuginfod_error = NULL;
|
g_autoptr(GError) debuginfod_error = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user