|
satyr 0.43
|
Normalization of stack traces. More...
Go to the source code of this file.
Functions | |
| void | sr_normalize_gdb_thread (struct sr_gdb_thread *thread) |
| void | sr_normalize_gdb_stacktrace (struct sr_gdb_stacktrace *stacktrace) |
| void | sr_normalize_core_thread (struct sr_core_thread *thread) |
| struct sr_gdb_frame * | sr_glibc_thread_find_exit_frame (struct sr_gdb_thread *thread) |
| void | sr_normalize_gdb_paired_unknown_function_names (struct sr_gdb_thread *thread1, struct sr_gdb_thread *thread2) |
| void | sr_gdb_normalize_optimize_thread (struct sr_gdb_thread *thread) |
Normalization of stack traces.
Normalization changes stack traces with respect to similarity by removing unnecessary differences. Normalized stack traces can be used to compute clusters and similarity of stack traces.
Definition in file normalize.h.
| void sr_gdb_normalize_optimize_thread | ( | struct sr_gdb_thread * | thread | ) |
Remove frames which are not interesting in comparison with other threads.
References sr_gdb_normalize_optimize_thread().
Referenced by sr_gdb_normalize_optimize_thread().
| struct sr_gdb_frame * sr_glibc_thread_find_exit_frame | ( | struct sr_gdb_thread * | thread | ) |
Checks whether the thread it contains some function used to exit application. If a frame with the function is found, it is returned. If there are multiple frames with abort function, the lowest one is returned.
References sr_glibc_thread_find_exit_frame().
Referenced by sr_glibc_thread_find_exit_frame().
| void sr_normalize_gdb_paired_unknown_function_names | ( | struct sr_gdb_thread * | thread1, |
| struct sr_gdb_thread * | thread2 ) |
Renames unknown function names ("??") that are between the same function names to be treated as similar in later comparison. Leaves unpair unknown functions unchanged.
References sr_normalize_gdb_paired_unknown_function_names().
Referenced by sr_normalize_gdb_paired_unknown_function_names().