mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
kernel-symbols: avoid symbols not in text (code) section
Those are defind as t or T type.
This commit is contained in:
@ -81,6 +81,10 @@ is_ignored (GHashTable *skip,
|
||||
const gchar *name,
|
||||
guint8 type)
|
||||
{
|
||||
/* Only allow symbols in the text (code) section */
|
||||
if (type != 't' && type != 'T')
|
||||
return TRUE;
|
||||
|
||||
return g_hash_table_contains (skip, name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user