ioam: trace plugin read api fix