mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +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,
|
const gchar *name,
|
||||||
guint8 type)
|
guint8 type)
|
||||||
{
|
{
|
||||||
|
/* Only allow symbols in the text (code) section */
|
||||||
|
if (type != 't' && type != 'T')
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
return g_hash_table_contains (skip, name);
|
return g_hash_table_contains (skip, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user