mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
*** empty log message ***
This commit is contained in:
@ -394,6 +394,8 @@ bin_file_lookup_symbol (BinFile *bf,
|
|||||||
|
|
||||||
data = bf->symbols;
|
data = bf->symbols;
|
||||||
|
|
||||||
|
g_print ("looking up %p in %s ", address, bf->filename);
|
||||||
|
|
||||||
if (address < data[last].address)
|
if (address < data[last].address)
|
||||||
{
|
{
|
||||||
/* Invariant: data[first].addr <= val < data[last].addr */
|
/* Invariant: data[first].addr <= val < data[last].addr */
|
||||||
@ -416,6 +418,8 @@ bin_file_lookup_symbol (BinFile *bf,
|
|||||||
result = &data[last];
|
result = &data[last];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_print ("-> %s\n", result->name);
|
||||||
|
|
||||||
/* If the name is "call_gmon_start", the file probably doesn't
|
/* If the name is "call_gmon_start", the file probably doesn't
|
||||||
* have any other symbols
|
* have any other symbols
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user