Skip to content

getting the "os error 2" error when trying to write a trace #271

@Maoni0

Description

@Maoni0

I'm getting these errors with the default cmdline record-trace --on-cpu -

2026-05-13T23:59:01.220665Z  WARN one_collect::helpers::exporting::os::linux: Unable to open perf-map file: pid=1, ns_pid=Some(1), error=No such file or directory (os error 2)
2026-05-13T23:59:01.220669Z  INFO one_collect::helpers::exporting::os::linux: Checking perf-map file: "/tmp/perf-3476.map"
2026-05-13T23:59:01.220793Z  WARN one_collect::helpers::exporting::os::linux: Unable to open perf-map file: pid=3476, ns_pid=Some(3476), error=No such file or directory (os error 2)

and it generates this

-rw-r--r-- 1 root root 3206 May 13 21:07 '>'

and it works if I specify the out dir with --out=./perfview_test_trace.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions