tp: improve diff testing script when tp returns error retcode am: b6fd42ad9a am: f299100f98 am: f0010c816f
tp: improve diff testing script when tp returns error retcode am: b6fd42ad9a am: f299100f98 am: f0010c816f

Change-Id: Ib231b571a99a3f4f31924f84972396927feea864

google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto