KernelShark is a front end visualisation for trace-cmd data.

Edit Package kernelshark

trace-cmd reporting can be extremely verbose making it difficult to analyse. kernelshark visualises the data so that it can be filtered or trimmed.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
_service 0000000683 683 Bytes
kernelshark-2.2.1.obscpio 0005409293 5.16 MB
kernelshark.changes 0000004118 4.02 KB
kernelshark.obsinfo 0000000100 100 Bytes
kernelshark.spec 0000003863 3.77 KB
Latest Revision
buildservice-autocommit accepted request 1110844 from Mel Gorman's avatar Mel Gorman (mgorman) (revision 16)
baserev update by copy to link target
Comments 4

Paul Fee's avatar

Running kernelshark-v1.0-2.d_t.1.x86_64, selecting tools/record I get: ERROR: "Record is currently not supported. Install \"pkexec\" and then do:<br> cd build <br> sudo ./cmake_uninstall.sh <br> ./cmake_clean.sh <br> cmake .. <br> make <br> sudo make install"

It seems this upstream bug covers the same issue: https://bugzilla.kernel.org/show_bug.cgi?id=204475


Mel Gorman's avatar

The polkit integration was left out as the record operation requires root privilege gather the trace. There is a non-zero risk that a privilege escalation could be implemented via kernelshark although hard to imagine given local admin access would still be required. Given that kernelshark is a visualisation tool, I suggest gathering the trace with trace-cmd and then loading it with kernelshark.


Dario Faggioli's avatar

Am I understanding correctly that using _service in the way it is done here, requires obs-service-set_version on the build platform? And since that appears not to be available, e.g., on SLE15, SLE15SP1, and SLE15SP2, the build does not work there?

While, on the other hand, using a "tar_scm" service, and run it manually for fetching the tarball (which will then be committed to the repository) would work there too?


Martin Pluskal's avatar

Yep that would work - and yes you are right obs-service-set_version is the reason for build failure on SLE.

openSUSE Build Service is sponsored by