Skip to content

Cannot profile local rustc #854

Closed
Closed
@Nicholas-Baron

Description

@Nicholas-Baron

I am trying to address the rustc regression shown here.
I have checked out the latest version of this repo and cannot use profile_local.
Build steps:

  • rustc with ./x.py b --stage 2 library/test
  • rustc-perf with cargo build (same result with --release)

The following command will fail:

./target/release/collector profile_local cachegrind ../rust/build/x86_64-unknown-linux-gnu/stage2/bin/rustc mine --include diesel

with this output:

Profiling with Cachegrind
1 benchmark remaining
Preparing diesel
Running diesel: Check + [Full, IncrFull, IncrUnchanged, IncrPatched]
collector error: Failed to profile 'diesel' with Cachegrind, recorded: failed to obtain pkgid in '"/tmp/.tmpZsNXtr"'

Caused by:
    No such file or directory (os error 2)
collector error: 1 benchmarks failed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions