libsysprof: fix kernel (Linux) categorization

This commit is contained in:
Christian Hergert
2023-08-25 11:37:17 -07:00
parent 352f1b2038
commit 677c6a19a7
2 changed files with 2 additions and 3 deletions

View File

@ -214,7 +214,7 @@ JS:
* javascript inherit
Kernel:
Linux:
do_coredump coredump inherit
* kernel inherit

View File

@ -41,8 +41,7 @@ _sysprof_callgraph_node_categorize (SysprofCallgraphNode *node)
* that you can do valgrind style function matches like:
*/
if (symbol->kind != SYSPROF_SYMBOL_KIND_USER ||
symbol->binary_nick == NULL)
if (symbol->binary_nick == NULL)
return SYSPROF_CALLGRAPH_CATEGORY_UNCATEGORIZED;
category = sysprof_categories_lookup (NULL, symbol->binary_nick, symbol->name);