NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
app_shield_agent_core.h File Reference
#include <doca_apsh.h>
#include <doca_apsh_attr.h>
#include <doca_dev.h>
#include <doca_telemetry_exporter.h>
Include dependency graph for app_shield_agent_core.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  apsh_config
 
struct  apsh_resources
 
struct  attestation_event
 
struct  event_indexes
 

Macros

#define MAX_PATH_LEN   260
 

Functions

struct attestation_event __attribute__ ((packed))
 
doca_error_t register_apsh_params (void)
 
doca_error_t app_shield_agent_init (struct apsh_config *conf, struct apsh_resources *resources)
 
void app_shield_agent_cleanup (struct apsh_resources *resources)
 
doca_error_t get_process_by_pid (struct apsh_resources *resources, struct apsh_config *apsh_conf, struct doca_apsh_process ***pslist, struct doca_apsh_process **process)
 
doca_error_t telemetry_start (struct doca_telemetry_exporter_schema **telemetry_schema, struct doca_telemetry_exporter_source **telemetry_source, struct event_indexes *indexes)
 
void telemetry_destroy (struct doca_telemetry_exporter_schema *telemetry_schema, struct doca_telemetry_exporter_source *telemetry_source)
 

Variables

doca_telemetry_exporter_timestamp_t timestamp
 
int32_t pid
 
int32_t result
 
uint64_t scan_count
 
char path [MAX_PATH_LEN+1]
 
struct event_indexes __attribute__
 ARG varg integer array of triplets (dst offset, src offset, length in bytes) More...
 

Macro Definition Documentation

◆ MAX_PATH_LEN

#define MAX_PATH_LEN   260

Definition at line 45 of file app_shield_agent_core.h.

Function Documentation

◆ __attribute__()

struct attestation_event __attribute__ ( (packed)  )

Definition at line 1 of file telemetry_exporter.h.

◆ app_shield_agent_cleanup()

void app_shield_agent_cleanup ( struct apsh_resources resources)

Definition at line 516 of file app_shield_agent_core.c.

◆ app_shield_agent_init()

doca_error_t app_shield_agent_init ( struct apsh_config conf,
struct apsh_resources resources 
)

Definition at line 502 of file app_shield_agent_core.c.

◆ get_process_by_pid()

doca_error_t get_process_by_pid ( struct apsh_resources resources,
struct apsh_config apsh_conf,
struct doca_apsh_process ***  pslist,
struct doca_apsh_process **  process 
)

Definition at line 541 of file app_shield_agent_core.c.

◆ register_apsh_params()

doca_error_t register_apsh_params ( void  )

Definition at line 210 of file app_shield_agent_core.c.

◆ telemetry_destroy()

void telemetry_destroy ( struct doca_telemetry_exporter_schema *  telemetry_schema,
struct doca_telemetry_exporter_source *  telemetry_source 
)

Definition at line 720 of file app_shield_agent_core.c.

◆ telemetry_start()

doca_error_t telemetry_start ( struct doca_telemetry_exporter_schema **  telemetry_schema,
struct doca_telemetry_exporter_source **  telemetry_source,
struct event_indexes indexes 
)

Definition at line 644 of file app_shield_agent_core.c.

Variable Documentation

◆ __attribute__

struct dpa_thread2_arg __attribute__
inline

ARG varg integer array of triplets (dst offset, src offset, length in bytes)

◆ path

char path[MAX_PATH_LEN+1]

Definition at line 5 of file app_shield_agent_core.h.

◆ pid

int32_t pid

Definition at line 2 of file app_shield_agent_core.h.

◆ result

int32_t result

Definition at line 3 of file app_shield_agent_core.h.

◆ scan_count

uint64_t scan_count

Definition at line 4 of file app_shield_agent_core.h.

◆ timestamp

Definition at line 0 of file app_shield_agent_core.h.