1nvme_get_telemetry_log(9) libnvme API manual nvme_get_telemetry_log(9)
2
3
4
6 nvme_get_telemetry_log - Get specified telemetry log
7
9 int nvme_get_telemetry_log (int fd , bool create , bool ctrl , bool rae
10 , size_t max_data_tx , enum nvme_telemetry_da da , struct nvme_teleme‐
11 try_log **log , size_t *size );
12
14 fd File descriptor of nvme device
15
16 create Generate new host initated telemetry capture
17
18 ctrl Get controller Initiated log
19
20 rae Retain asynchronous events
21
22 max_data_tx Set the max data transfer size to be used retrieving
23 telemetry.
24
25 da Log page data area, valid values: enum nvme_telemetry_da.
26
27 log On success, set to the value of the allocated and retrieved
28 log.
29
30 size Ptr to the telemetry log size, so it can be returned
31
33 The total size allocated can be calculated as: (nvme_telemetry_log da
34 size + 1) * NVME_LOG_TELEM_BLOCK_SIZE.
35
37 The nvme command status if a response was received (see enum nvme_sta‐
38 tus_field) or -1 with errno set otherwise.
39
40
41
42October 2023 nvme_get_telemetry_log nvme_get_telemetry_log(9)