|
satyr 0.43
|
A stack trace of a core dump. More...
Go to the source code of this file.
Data Structures | |
| struct | sr_core_stacktrace |
| A stack trace of a core dump. More... | |
Functions | |
| struct sr_core_stacktrace * | sr_core_stacktrace_new (void) |
| void | sr_core_stacktrace_init (struct sr_core_stacktrace *stacktrace) |
| void | sr_core_stacktrace_free (struct sr_core_stacktrace *stacktrace) |
| struct sr_core_stacktrace * | sr_core_stacktrace_dup (struct sr_core_stacktrace *stacktrace) |
| int | sr_core_stacktrace_get_thread_count (struct sr_core_stacktrace *stacktrace) |
| struct sr_core_thread * | sr_core_stacktrace_find_crash_thread (struct sr_core_stacktrace *stacktrace) |
| struct sr_core_stacktrace * | sr_core_stacktrace_from_json (json_object *root, char **error_message) |
| struct sr_core_stacktrace * | sr_core_stacktrace_from_json_text (const char *text, char **error_message) |
| char * | sr_core_stacktrace_get_reason (struct sr_core_stacktrace *stacktrace) |
| char * | sr_core_stacktrace_to_json (struct sr_core_stacktrace *stacktrace) |
| struct sr_core_stacktrace * | sr_core_stacktrace_create (const char *gdb_stacktrace_text, const char *unstrip_text, const char *executable_path) |
A stack trace of a core dump.
Definition in file core/stacktrace.h.
| struct sr_core_stacktrace * sr_core_stacktrace_dup | ( | struct sr_core_stacktrace * | stacktrace | ) |
Creates a duplicate of the stacktrace.
| stacktrace | The stacktrace to be copied. It's not modified by this function. |
| void sr_core_stacktrace_free | ( | struct sr_core_stacktrace * | stacktrace | ) |
Releases the memory held by the stacktrace, its threads and frames.
| stacktrace | If the stacktrace is NULL, no operation is performed. |
| struct sr_core_stacktrace * sr_core_stacktrace_from_json | ( | json_object * | root, |
| char ** | error_message ) |
| char * sr_core_stacktrace_get_reason | ( | struct sr_core_stacktrace * | stacktrace | ) |
Returns brief, human-readable explanation of the stacktrace.
| int sr_core_stacktrace_get_thread_count | ( | struct sr_core_stacktrace * | stacktrace | ) |
Returns a number of threads in the stacktrace.
| stacktrace | It's not modified by calling this function. |
| void sr_core_stacktrace_init | ( | struct sr_core_stacktrace * | stacktrace | ) |
Initializes all members of the stacktrace structure to their default values. No memory is released, members are simply overwritten. This is useful for initializing a stacktrace structure placed on the stack.
| struct sr_core_stacktrace * sr_core_stacktrace_new | ( | void | ) |
Creates and initializes a new stacktrace structure.
| char * sr_core_stacktrace_to_json | ( | struct sr_core_stacktrace * | stacktrace | ) |
Serializes stacktrace to string.