23#include "bgpm/include/bgpm.h"
28#define STRINGIFY(x) #x
29#define TOSTRING(x) STRINGIFY(x)
30#define _AT_ __FILE__ ":" TOSTRING(__LINE__)
34#define MAX_COUNTERS ( PEVT_LAST_EVENT + 1 )
int _common_set_overflow_BGPM(int EventGroup, int evt_idx, int threshold, void(*handler)(int, uint64_t, uint64_t, const ucontext_t *))
int _common_deleteRecreate(int *EventGroup_ptr)
int _common_rebuildEventgroup(int count, int *EventGroup_local, int *EventGroup_ptr)
long_long _common_getEventValue(unsigned event_id, int EventGroup)
int _check_BGPM_error(int err, char *bgpmfunc)
Return codes and api definitions.
void handler(int EventSet, void *address, long long overflow_vector, void *context)