(In reply to Michal Suchanek from comment #16) > readelf is provided by GNU binutils. What about LLVM builds? > > Also pahole is specified by PAHOLE variable, and it may include arguments > because shell and stuff. Yes, it's broken in many ways. Sent to upstream for discussion as an RFC: https://lore.kernel.org/all/20240820085950.200358-1-jirislaby@kernel.org/ (In reply to Shung-Hsi Yu from comment #17) > Would it be better to have pahole to cap the thread count depending on > virtual memory available irregardless to architecture? Maybe set it to 1 when sizeof(long) == 4?