summaryrefslogtreecommitdiff
path: root/18b7c59a9d158abac990d2d3bf4b3432a1d876ec
diff options
context:
space:
mode:
authorAbhishek Gadewar <abhishekgadewar@meta.com>2024-05-01 10:59:24 -0700
committerAbhishek Gadewar <abhishekgadewar@meta.com>2024-05-01 11:07:54 -0700
commitb67822c134ab6cc607de011249758dbe83e412c2 (patch)
tree6422322847df96f15bae07bf309247d406221379 /18b7c59a9d158abac990d2d3bf4b3432a1d876ec
parent5080f93ced2c132b96a775550e62dbc7d3f8770c (diff)
downloadextras-b67822c134ab6cc607de011249758dbe83e412c2.tar.gz
Automatically delete trace files after generating report
Summary: After switching to a time-based approach for report generation, we want to ensure that we don't accidentally include repeated trace files. Thus, after creating a zip file for the report, we delete the originals. Test: Ran adb shell device_config put profcollect_native_boot enabled true and rebooted the device to enable profcollectd. Ranprofcollectctl once to collect trace files, profcollectctl process to process them, and then profcollectctl report to generate the report. Verified that the processed trace files were removed after profcollectctl report was run & that the config.json file remained. Tags: Change-Id: Ic6ab934f52c7af277817ce992faebd96fcde223f Signed-off-by: Abhishek Gadewar <abhishekgadewar@meta.com>
Diffstat (limited to '18b7c59a9d158abac990d2d3bf4b3432a1d876ec')
0 files changed, 0 insertions, 0 deletions