Arm MAP Metric Plugin Interface
Metric Plugin Interface for MAP
backfill1.c

An example of a backfilled custom metric. This category of metric allows data, which has been collected externally to the sampler (for example, hardware power monitoring or I/O logs), to be displayed alongside metrics which are collected by the sampler.

int allinea_plugin_initialize(plugin_id_t plugin_id, void *unused)
{
return 0;
}
int allinea_plugin_cleanup(plugin_id_t plugin_id, void *unused)
{
return 0;
}
{
return 0;
}
{
return 0;
}
int backfilled_metric(metric_id_t metric_id, struct timespec *in_out_sample_time, uint64_t *out_value)
{
// Back fill with value of 5 for all samples.
*out_value = 5;
return 0;
}