Timestamp may be present in the oops lines.
#ifndef SATYR_KOOPS_FRAME_H
#define SATYR_KOOPS_FRAME_H
#ifdef __cplusplus
extern "C" {
#endif
#include "../report_type.h"
#include <json.h>
#include <stdbool.h>
#include <stdint.h>
#include <glib.h>
{
enum sr_report_type type;
uint64_t function_offset;
uint64_t function_length;
uint64_t from_function_offset;
uint64_t from_function_length;
};
void
void
bool siblings);
int
int
sr_koops_frame_parse(const char **input);
bool
sr_koops_skip_timestamp(const char **input);
bool
sr_koops_parse_address(
const char **input, uint64_t *
address);
bool
sr_koops_parse_module_name(const char **input,
bool
sr_koops_parse_function(const char **input,
uint64_t *function_offset,
uint64_t *function_length,
char *
void
GString *dest);
#ifdef __cplusplus
}
#endif
#endif
struct sr_koops_frame * sr_koops_frame_append(struct sr_koops_frame *dest, struct sr_koops_frame *item)
void sr_koops_frame_append_to_str(struct sr_koops_frame *frame, GString *dest)
struct sr_koops_frame * sr_koops_frame_dup(struct sr_koops_frame *frame, bool siblings)
char * sr_koops_frame_to_json(struct sr_koops_frame *frame)
int sr_koops_frame_cmp_distance(struct sr_koops_frame *frame1, struct sr_koops_frame *frame2)
struct sr_koops_frame * sr_koops_frame_from_json(json_object *root, char **error_message)
void sr_koops_frame_init(struct sr_koops_frame *frame)
struct sr_koops_frame * sr_koops_frame_new(void)
void sr_koops_frame_free(struct sr_koops_frame *frame)
int sr_koops_frame_cmp(struct sr_koops_frame *frame1, struct sr_koops_frame *frame2)
char * from_function_name