20 #ifndef SATYR_GDB_THREAD_H 21 #define SATYR_GDB_THREAD_H 32 #include "../report_type.h" 48 enum sr_report_type type;
int sr_gdb_thread_cmp(struct sr_gdb_thread *thread1, struct sr_gdb_thread *thread2)
char * sr_gdb_thread_format_funs(struct sr_gdb_thread *thread)
A thread of execution of a GDB-produced stack trace.
struct sr_gdb_thread * sr_gdb_thread_parse(const char **input, struct sr_location *location)
int sr_gdb_thread_skip_lwp(const char **input)
struct sr_gdb_thread * sr_gdb_thread_new(void)
struct sr_gdb_frame * frames
void sr_gdb_thread_free(struct sr_gdb_thread *thread)
A resizable string buffer.
float sr_gdb_thread_quality(struct sr_gdb_thread *thread)
struct sr_gdb_thread * sr_gdb_thread_parse_funs(const char *input)
void sr_gdb_thread_init(struct sr_gdb_thread *thread)
struct sr_gdb_thread * sr_gdb_thread_dup(struct sr_gdb_thread *thread, bool siblings)
bool sr_gdb_thread_remove_frame(struct sr_gdb_thread *thread, struct sr_gdb_frame *frame)
bool sr_gdb_thread_remove_frames_above(struct sr_gdb_thread *thread, struct sr_gdb_frame *frame)
A function call of a GDB-produced stack trace.
struct sr_gdb_thread * next
struct sr_gdb_thread * sr_gdb_thread_append(struct sr_gdb_thread *dest, struct sr_gdb_thread *item)
void sr_gdb_thread_remove_frames_below_n(struct sr_gdb_thread *thread, int n)
struct sr_gdb_thread * sr_gdb_thread_get_optimized(struct sr_gdb_thread *thread, struct sr_gdb_sharedlib *libs, int max_frames)
A location of a parser in the input stream.
void sr_gdb_thread_set_libnames(struct sr_gdb_thread *thread, struct sr_gdb_sharedlib *libs)
A shared library memory location as reported by GDB.
void sr_gdb_thread_quality_counts(struct sr_gdb_thread *thread, int *ok_count, int *all_count)
void sr_gdb_thread_append_to_str(struct sr_gdb_thread *thread, struct sr_strbuf *dest, bool verbose)
int sr_gdb_thread_parse_lwp(const char **input, uint32_t *tid)