mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
collector/perfetto: Use busybox cat
Use busybox cat instead of system's cat.
This commit is contained in:
parent
1c0223556f
commit
14bb86efad
@ -86,8 +86,8 @@ class PerfettoCollector(CollectorBase):
|
||||
self.target_output_file = target.path.join(target_output_path, OUTPUT_PERFETTO_TRACE)
|
||||
|
||||
def start(self):
|
||||
cmd = "cat {} | {} --txt -c - -o {}".format(
|
||||
quote(self.config), quote(self.target_binary), quote(self.target_output_file)
|
||||
cmd = "{} cat {} | {} --txt -c - -o {}".format(
|
||||
quote(self.target.busybox), quote(self.config), quote(self.target_binary), quote(self.target_output_file)
|
||||
)
|
||||
# start tracing
|
||||
if self.bg_cmd is None:
|
||||
@ -117,4 +117,3 @@ class PerfettoCollector(CollectorBase):
|
||||
else:
|
||||
output.append(CollectorOutputEntry(self.output_path, 'file'))
|
||||
return output
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user