#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <json-c/json.h>
#include <doca_argp.h>
#include <doca_dev.h>
#include <doca_error.h>
#include <doca_log.h>
#include <doca_telemetry_dpa.h>
#include "telemetry_dpa_sample.h"
Go to the source code of this file.
◆ DEFAULT_MAX_PERF_EVENT_SAMPLES
| #define DEFAULT_MAX_PERF_EVENT_SAMPLES 0 |
◆ DEFAULT_TOTAL_RUN_TIME_MILLISECS
| #define DEFAULT_TOTAL_RUN_TIME_MILLISECS 2000 |
◆ counter_type_callback()
| static doca_error_t counter_type_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
TELEMETRY_DPA::MAIN |
| ) |
|
◆ event_samples_callback()
| static doca_error_t event_samples_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ pci_address_callback()
| static doca_error_t pci_address_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ process_id_callback()
| static doca_error_t process_id_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ register_telemetry_dpa_params()
◆ run_time_callback()
| static doca_error_t run_time_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |
◆ set_default_params()
◆ thread_id_callback()
| static doca_error_t thread_id_callback |
( |
void * |
param, |
|
|
void * |
config |
|
) |
| |
|
static |