installing perf profiler on sailfish os
While troubleshooting some lags (https://together.jolla.com/question/176421/severe-lags-after-updating-to-2137/) I thought that the easiest way to get the cause of the lags is to use perf. My phone model is Jolla 1.
Is there an easy way of installing perf on Sailfish OS?
I tried to use pkcon.
$ pkcon search name perf Available kernel-adaptation-sbj-perf-3.4.108.20161101.1-10.42.3.jolla.armv7hl Linux profiling with performance counters
But trying installing it shows an error:
$ pkcon install kernel-adaptation-sbj-perf Installing
Waiting in queue
Starting
Refreshing software list
Querying
Resolving dependencies
Fatal error: kernel-adaptation-sbj-perf-3.4.108.20161101.1-10.42.3.jolla.armv7hl requires libdw.so.1, but this requirement cannot be provided
@Ivan Sorokin
In terminal, type in;
Spam Hunter ( 2017-12-21 00:09:14 +0200 )editpkcon search name kernel-adaptation-sbj-perf
- when I do this, it shows a later version than what you are showing - the newer version is; 3.4.108.20171017.1-10.44.1 - I don't know if this will take care of the dependency or not.Hm, in my case only 3.4.108.20161101.1-10.42.3.jolla.armv7hl is shown. Is your device Jolla 1 too?
Ivan Sorokin ( 2017-12-21 10:36:23 +0200 )edit@Ivan Sorokin - do
Spam Hunter ( 2017-12-21 11:46:20 +0200 )editpkcon refresh
then search again. Yes, I'm also using Jolla1@Edz Although I was sure I did
Ivan Sorokin ( 2017-12-26 01:21:39 +0200 )editpkcon refresh
before I didpkcon search
, doing anotherpkcon refresh
updated the package to the same version as yours. Now it installs flawlessly. Thank you. Could you submit an answer so I can accept it?@Edz perf tries to use
Ivan Sorokin ( 2017-12-26 02:30:41 +0200 )editless
internally. I haven't found it bypkcon search
. I tried installingzless
hoping that it will pullless
as a dependency. Unfortunately the message I get was: "Fatal error: nothing provides /usr/bin/less needed by zless-1.5-1.1.5.armv7hl". Does it mean that there is noless
in the repository? As a workaround I just redirected output of perf to a file.