Skip to content

Commit

Permalink
WIPpython
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-raillard-arm committed Jan 10, 2024
1 parent f1b316c commit a26bddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file added lisa/_assets/binaries/x86_64/trace-dump
Binary file not shown.
5 changes: 4 additions & 1 deletion lisa/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,15 +425,18 @@ def from_dat(cls, path, events, needed_metadata=None):
@classmethod
def _make_parquets(cls, events, path, parquet_dir):
parquet_dir = Path(parquet_dir)
trace_dump = get_bin('trace-dump')

stdout = subprocess.check_output(
(
'/work/projects/lisa/tools/trace-parser/trace-tools/target/x86_64-unknown-linux-musl/release/trace-dump',
trace_dump,
path,
'pq',
),
cwd=parquet_dir,
stderr=subprocess.STDOUT,
)
cls.get_logger().error(f'trace-dump output for events {events}:\n{stdout}')

with open(parquet_dir / 'meta.json') as metaf:
meta = json.load(metaf)
Expand Down

0 comments on commit a26bddf

Please sign in to comment.