HPCToolkit
sample_sources_registered.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "sample_sources_registered.h"
#include <sample-sources/sample_source_obj.h>
#include <sample-sources/ss-obj-name.h>
#include <messages/messages.h>
#include <sample-sources/ss-list.h>
Include dependency graph for sample_sources_registered.c:

Go to the source code of this file.

Macros

#define SAMPLE_SOURCE_DECL_MACRO(name)   void SS_OBJ_CONSTRUCTOR(name)(void);
 
#define SAMPLE_SOURCE_DECL_MACRO(name)   SS_OBJ_CONSTRUCTOR(name)();
 

Functions

static void hpcrun_sample_sources_register (void)
 
void hpcrun_ss_register (sample_source_t *src)
 
sample_source_thpcrun_source_can_process (char *event)
 
void hpcrun_registered_sources_init (void)
 
void hpcrun_display_avail_events (void)
 

Variables

static sample_source_tregistered_sample_sources = NULL
 

Macro Definition Documentation

◆ SAMPLE_SOURCE_DECL_MACRO [1/2]

#define SAMPLE_SOURCE_DECL_MACRO (   name)    void SS_OBJ_CONSTRUCTOR(name)(void);

Definition at line 64 of file sample_sources_registered.c.

◆ SAMPLE_SOURCE_DECL_MACRO [2/2]

#define SAMPLE_SOURCE_DECL_MACRO (   name)    SS_OBJ_CONSTRUCTOR(name)();

Definition at line 64 of file sample_sources_registered.c.

Function Documentation

◆ hpcrun_display_avail_events()

void hpcrun_display_avail_events ( void  )

Definition at line 151 of file sample_sources_registered.c.

Here is the caller graph for this function:

◆ hpcrun_registered_sources_init()

void hpcrun_registered_sources_init ( void  )

Definition at line 140 of file sample_sources_registered.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_sample_sources_register()

static void hpcrun_sample_sources_register ( void  )
static

Definition at line 83 of file sample_sources_registered.c.

Here is the caller graph for this function:

◆ hpcrun_source_can_process()

sample_source_t* hpcrun_source_can_process ( char *  event)

Definition at line 123 of file sample_sources_registered.c.

Here is the caller graph for this function:

◆ hpcrun_ss_register()

void hpcrun_ss_register ( sample_source_t src)

Definition at line 102 of file sample_sources_registered.c.

Here is the caller graph for this function:

Variable Documentation

◆ registered_sample_sources

sample_source_t* registered_sample_sources = NULL
static

Definition at line 74 of file sample_sources_registered.c.