|
|
@@ -494,14 +494,14 @@ static PyObject *python_process_brstack(struct perf_sample *sample,
|
|
|
pydict_set_item_string_decref(pyelem, "cycles",
|
|
|
PyLong_FromUnsignedLongLong(br->entries[i].flags.cycles));
|
|
|
|
|
|
- thread__find_map(thread, sample->cpumode,
|
|
|
- br->entries[i].from, &al);
|
|
|
+ thread__find_map_fb(thread, sample->cpumode,
|
|
|
+ br->entries[i].from, &al);
|
|
|
dsoname = get_dsoname(al.map);
|
|
|
pydict_set_item_string_decref(pyelem, "from_dsoname",
|
|
|
_PyUnicode_FromString(dsoname));
|
|
|
|
|
|
- thread__find_map(thread, sample->cpumode,
|
|
|
- br->entries[i].to, &al);
|
|
|
+ thread__find_map_fb(thread, sample->cpumode,
|
|
|
+ br->entries[i].to, &al);
|
|
|
dsoname = get_dsoname(al.map);
|
|
|
pydict_set_item_string_decref(pyelem, "to_dsoname",
|
|
|
_PyUnicode_FromString(dsoname));
|
|
|
@@ -576,14 +576,14 @@ static PyObject *python_process_brstacksym(struct perf_sample *sample,
|
|
|
if (!pyelem)
|
|
|
Py_FatalError("couldn't create Python dictionary");
|
|
|
|
|
|
- thread__find_symbol(thread, sample->cpumode,
|
|
|
- br->entries[i].from, &al);
|
|
|
+ thread__find_symbol_fb(thread, sample->cpumode,
|
|
|
+ br->entries[i].from, &al);
|
|
|
get_symoff(al.sym, &al, true, bf, sizeof(bf));
|
|
|
pydict_set_item_string_decref(pyelem, "from",
|
|
|
_PyUnicode_FromString(bf));
|
|
|
|
|
|
- thread__find_symbol(thread, sample->cpumode,
|
|
|
- br->entries[i].to, &al);
|
|
|
+ thread__find_symbol_fb(thread, sample->cpumode,
|
|
|
+ br->entries[i].to, &al);
|
|
|
get_symoff(al.sym, &al, true, bf, sizeof(bf));
|
|
|
pydict_set_item_string_decref(pyelem, "to",
|
|
|
_PyUnicode_FromString(bf));
|