Closed Jongy closed 1 year ago
This now fails another test:
def test_collapse_stack_consider_dso(stack: str, insert_dso_name: bool, outcome_dict: Dict[str, str]) -> None:
expected = f"program;{outcome_dict['dso_true' if insert_dso_name else 'dso_false']}"
> assert expected == _collapse_stack("program", stack, insert_dso_name)
E AssertionError: assert 'program;(/li...so (deleted))' == 'program;[unk...so (deleted))'
E - program;[unknown] (/lib/libudev.so (deleted))
E ? ----------
E + program;(/lib/libudev.so (deleted))
Looks good.
Closes: https://github.com/Granulate/gprofiler/issues/673