commit | 7e80a381d8ffeb6282d476b9956d6a3d8fa63a04 | [log] [tgz] |
---|---|---|
author | Sergei Trofimov <sergei.trofimov@arm.com> | Thu May 11 14:22:28 2017 +0100 |
committer | Sergei Trofimov <sergei.trofimov@arm.com> | Fri May 12 09:14:35 2017 +0100 |
tree | 9eddbdcafa521160250a73febbe38dd500f372cc | |
parent | 4dc54728c1173c4ddf16a0a682dccc7fa7cfa795 [diff] |
ftrace: fix get_trace when outfile is directory If the path passed into get_trace() is a directory, the collector is supposed to use the name of the output file on target for the file on the host. Until now however, os.path.dirname() was mistakenly called on the target location (returning the containing directory rather than the base name of the file).