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)
|
self.target_output_file = target.path.join(target_output_path, OUTPUT_PERFETTO_TRACE)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
cmd = "cat {} | {} --txt -c - -o {}".format(
|
cmd = "{} cat {} | {} --txt -c - -o {}".format(
|
||||||
quote(self.config), quote(self.target_binary), quote(self.target_output_file)
|
quote(self.target.busybox), quote(self.config), quote(self.target_binary), quote(self.target_output_file)
|
||||||
)
|
)
|
||||||
# start tracing
|
# start tracing
|
||||||
if self.bg_cmd is None:
|
if self.bg_cmd is None:
|
||||||
@ -117,4 +117,3 @@ class PerfettoCollector(CollectorBase):
|
|||||||
else:
|
else:
|
||||||
output.append(CollectorOutputEntry(self.output_path, 'file'))
|
output.append(CollectorOutputEntry(self.output_path, 'file'))
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user