OSDN Git Service

Truncate trace output files.
authorMartijn Coenen <maco@google.com>
Wed, 22 Feb 2017 08:25:31 +0000 (09:25 +0100)
committerMartijn Coenen <maco@google.com>
Wed, 22 Feb 2017 08:25:31 +0000 (09:25 +0100)
commitc579198835539100087ba71f5bbf38c3c09422e6
treeb28655d220d1889cae4ca3c9f7cfc049e18062a3
parent6481ebfbc36c7ef3d7e6e4809e802240eb0da297
Truncate trace output files.

To avoid creating trace files with garbage at the end.

Bug: 35588070
Test: atrace runs
Change-Id: I26ef4c652ca2e2dd8ff9d11d4f380b44791cb960
cmds/atrace/atrace.cpp