mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user