mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: only short-circuit for address translation
This commit is contained in:
@ -127,10 +127,13 @@ translate_table_translate (GArray **tables,
|
||||
const TranslateItem *item;
|
||||
TranslateItem key = { src, 0 };
|
||||
|
||||
if ((src & SYSPROF_CAPTURE_JITMAP_MARK) == 0)
|
||||
return src;
|
||||
if (table == TRANSLATE_ADDR)
|
||||
{
|
||||
if ((src & SYSPROF_CAPTURE_JITMAP_MARK) == 0)
|
||||
return src;
|
||||
}
|
||||
|
||||
if (!tables[table])
|
||||
if (tables[table] == NULL)
|
||||
return src;
|
||||
|
||||
item = bsearch (&key,
|
||||
|
||||
Reference in New Issue
Block a user