libsysprof: add coredump category

This just makes it easier to see if the time spent on something was
related to a coredump handler in the kernel.
This commit is contained in:
Christian Hergert
2023-07-28 10:49:14 -07:00
parent ee5ad3c916
commit afe71d7562
5 changed files with 11 additions and 4 deletions

View File

@ -305,14 +305,11 @@ _sysprof_callgraph_categorize (SysprofCallgraph *self,
node->category = SYSPROF_CALLGRAPH_CATEGORY_CONTEXT_SWITCH;
break;
case SYSPROF_SYMBOL_KIND_KERNEL:
node->category = SYSPROF_CALLGRAPH_CATEGORY_KERNEL;
break;
case SYSPROF_SYMBOL_KIND_UNWINDABLE:
node->category = SYSPROF_CALLGRAPH_CATEGORY_UNWINDABLE;
break;
case SYSPROF_SYMBOL_KIND_KERNEL:
case SYSPROF_SYMBOL_KIND_USER:
node->category = _sysprof_callgraph_node_categorize (node);