[PATCH] D118550: [Support] Have ThreadPool initialize a TimeTraceProfiler per thread

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 11:17:22 PST 2022


MaskRay added a comment.

(Just wanted to say I know ld.lld --time-trace  has problems. For example if I run

  ld.lld @response.txt --threads=8 --time-trace -o clang
  jq -r '.traceEvents[] | select((.name|contains("Total")) or (.name|contains("Write"))) | "\(.dur/1000000) \(.name) \(.args)"' < clang.time-trace

I can sometimes find missing trace events. But I haven't had time to look into this. Sorry!)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118550/new/

https://reviews.llvm.org/D118550



More information about the llvm-commits mailing list