Hi, On 2023-06-08 20:20:18 -0400, Gregory Smith wrote: > On Thu, Jun 8, 2023 at 6:18 PM Andres Freund <and...@anarazel.de> wrote: > > > Could you get a profile with call graphs? We need to know what leads to all > > those osq_lock calls. > > perf record --call-graph dwarf -a sleep 1 > > or such should do the trick, if run while the workload is running. > > > > I'm doing something wrong because I can't find the slow part in the perf > data; I'll get back to you on this one.
You might need to add --no-children to the perf report invocation, otherwise it'll show you the call graph inverted. - Andres