read/write trace