diff --git a/src/libsysprof/categories.txt b/src/libsysprof/categories.txt index 90647f68..86a43839 100644 --- a/src/libsysprof/categories.txt +++ b/src/libsysprof/categories.txt @@ -214,7 +214,7 @@ JS: * javascript inherit -Kernel: +Linux: do_coredump coredump inherit * kernel inherit diff --git a/src/libsysprof/sysprof-callgraph-categorize.c b/src/libsysprof/sysprof-callgraph-categorize.c index 293c53d5..f8cb7813 100644 --- a/src/libsysprof/sysprof-callgraph-categorize.c +++ b/src/libsysprof/sysprof-callgraph-categorize.c @@ -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);