Re: [PATCH v2] kernel-shark: Do not hardcode /usr prefix for polkit policies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yordan,

On Fri, Mar 12 2021, Yordan Karadzhov (VMware) wrote:
> If you are keen to try the latest version, checkout this one:
>
> https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/
>
> This is a brand new version that has a lot of changes under the hood and 
> needs user testing. We will be extremely happy to receive bug reports ;) 
> or patches for this new version.

Great! I've compiled this version and so far everything works. But I use
just basic features - opening the trace, searching and zooming.

On Fri, Mar 12 2021, Yordan Karadzhov (VMware) wrote:
> OK, now I see your problem. Please excuse my ignorance.
>
> Here's the deal. What you want can be achieved with an almost trivial 
> patch in kernelshark 2. Have a look here:
>
> https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/tree/src/CMakeLists.txt#n129
>
> and make the installation of the policy file to be a separate component.
> Make the installation of "kshark-su-record" part of the new component as 
> well since it relies on the policy file.

Sounds good. I'm working on the patch. I'll also send other changes that
will make my life easier.

> I guess "kernelshark.desktop" must be there as well.

I don't think so. Desktop files are looked for at multiple places,
including ~/.local/share/application or $XDG_<SOMETHING>.


-Michal



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux