mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 15:40:53 +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;
|
const TranslateItem *item;
|
||||||
TranslateItem key = { src, 0 };
|
TranslateItem key = { src, 0 };
|
||||||
|
|
||||||
if ((src & SYSPROF_CAPTURE_JITMAP_MARK) == 0)
|
if (table == TRANSLATE_ADDR)
|
||||||
return src;
|
{
|
||||||
|
if ((src & SYSPROF_CAPTURE_JITMAP_MARK) == 0)
|
||||||
|
return src;
|
||||||
|
}
|
||||||
|
|
||||||
if (!tables[table])
|
if (tables[table] == NULL)
|
||||||
return src;
|
return src;
|
||||||
|
|
||||||
item = bsearch (&key,
|
item = bsearch (&key,
|
||||||
|
|||||||
Reference in New Issue
Block a user