21 #ifndef SATYR_KOOPS_FRAME_H 22 #define SATYR_KOOPS_FRAME_H 33 #include "../report_type.h" 45 enum sr_report_type type;
65 uint64_t function_offset;
67 uint64_t function_length;
84 uint64_t from_function_offset;
86 uint64_t from_function_length;
200 sr_koops_frame_parse(
const char **input);
209 sr_koops_skip_timestamp(
const char **input);
212 sr_koops_parse_address(
const char **input, uint64_t *
address);
215 sr_koops_parse_module_name(
const char **input,
219 sr_koops_parse_function(
const char **input,
221 uint64_t *function_offset,
222 uint64_t *function_length,
int sr_koops_frame_cmp_distance(struct sr_koops_frame *frame1, struct sr_koops_frame *frame2)
struct sr_koops_frame * sr_koops_frame_append(struct sr_koops_frame *dest, struct sr_koops_frame *item)
void sr_koops_frame_init(struct sr_koops_frame *frame)
A resizable string buffer.
char * sr_koops_frame_to_json(struct sr_koops_frame *frame)
struct sr_koops_frame * sr_koops_frame_from_json(struct sr_json_value *root, char **error_message)
struct sr_koops_frame * sr_koops_frame_new(void)
struct sr_koops_frame * sr_koops_frame_dup(struct sr_koops_frame *frame, bool siblings)
void sr_koops_frame_append_to_str(struct sr_koops_frame *frame, struct sr_strbuf *dest)
int sr_koops_frame_cmp(struct sr_koops_frame *frame1, struct sr_koops_frame *frame2)
void sr_koops_frame_free(struct sr_koops_frame *frame)
char * from_function_name