Skip to content

Commit

Permalink
Yet another fix for taking a perfetto trace on desktop.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWoloszyn authored and pmuetschard committed Jul 26, 2019
1 parent 9b728a8 commit 089936b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/app/layout/layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ func (l pkgLayout) Library(ctx context.Context, lib LibraryType, abi *device.ABI

func (l pkgLayout) PerfettoCmd(ctx context.Context, abi *device.ABI) (file.Path, error) {
if hostOS(ctx) == abi.OS {
return l.root.Join(withExecutablePlatformSuffix("perfetto", abi.OS)), nil
return l.root.Join("perfetto", withExecutablePlatformSuffix("perfetto", abi.OS)), nil
}
return l.root.Join(osToDir(abi.OS), withExecutablePlatformSuffix("perfetto", abi.OS)), nil
return l.root.Join(osToDir(abi.OS), "perfetto", withExecutablePlatformSuffix("perfetto", abi.OS)), nil
}

func (l pkgLayout) Json(ctx context.Context, lib LibraryType) (file.Path, error) {
Expand Down

0 comments on commit 089936b

Please # to comment.