update information about pst interface

This commit is contained in:
2020-04-16 20:23:03 +04:00
parent bc1b1577a5
commit a36d8ff7b9
2 changed files with 9 additions and 1 deletions
+8 -1
View File
@@ -12,7 +12,6 @@
//system
#include <ucontext.h>
#include <stdio.h>
#include <stdint.h>
#include "libpst-types.h"
@@ -21,6 +20,10 @@ typedef struct pst_handler pst_handler;
typedef struct pst_function pst_function;
typedef struct pst_parameter pst_parameter;
//
// Initialization of the library
//
/**
* @brief allocate libpst handler and initialize the library
* @param context context of process given to signal handler of a program. If NULL, then we are not in signal handler
@@ -37,6 +40,10 @@ pst_handler* pst_lib_init(ucontext_t* context, void* buff, uint32_t size);
*/
void pst_lib_fini(pst_handler* handler);
//
// Basic unwind routines.
// Allows to retrieve stack trace information about function's name, line and file if possibly
//
/**
* @brief Unwinds current stack trace using base information about program (i.e. function address, function name and line)
+1
View File
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include "../include/libpst.h"