https://bugs.kde.org/show_bug.cgi?id=422306

--- Comment #36 from Fredric <fredr...@duck.com> ---
(In reply to David Faure from comment #34)
> Keep in mind that if most of the time is spent waiting (for I/O, network,
> mutex....) then using hotspot to look at CPU cycles will tell you nothing.

Yes. KSysGuard doesn't show any CPU spike during Dolphin startup and delays.

> You want to check the "off-CPU profiling" checkbox in hotspot, and look at
> wait times (in the flamegraph, look at the combobox which says "cycles",
> change it to "off-CPU Time").
> If you get errors about sched_wait or something, run this script:
> http://www.davidfaure.fr/kde/perf-init

I have run the script. 
If I check the "off-CPU profiling" checkbox, 

> privileges elevated!
> $ perf record -o /home/fr/perf.data --call-graph dwarf,8192 --event cycles 
> --switch-events --event sched:sched_switch --aio -z --sample-cpu 
> /usr/bin/dolphin
> restoring privileges...

Dolphin window doesn't show up, and I can't stop recording. When I click the
"Stop Recording (...min ...s)" it changes to "Stop Recording" but the Hotspot
app becomes unresponsive and I can't shutdown normally due to the perf process.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to