On Thu, 23 Aug 2018 13:08:03 +0100 Ciara Power <ciara.po...@intel.com> wrote:
> + > +static int > +telemetry_probe(struct rte_vdev_device *vdev) > +{ > + int ret; > + > + RTE_SET_USED(vdev); > + ret = rte_telemetry_init(rte_socket_id()); > + if (ret < 0) { > + printf("Error - Telemetry initialisation failed\n"); > + return -1; > + } > + return 0; > +} > + > +static int > +telemetry_remove(struct rte_vdev_device *vdev) > +{ > + const char *name; > + name = rte_vdev_device_name(vdev); > + printf("Uninitialising the device: %s\n", name); Please use DPDK (rte) logging for all messages.