Re: Co-existing of traceevent of trace-cmd and perf

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

 



Zamir, Steven,

On Tue, Sep 29, 2020 at 10:16:33PM +0800, Zamir SUN wrote:
> On 9/29/20 9:44 PM, Zamir SUN wrote:
> > I'm packaging trace-cmd 2.9 into Fedora.
> > 
> > Back in trace-cmd 2.8, all the plugins are under
> > $(libdir)/trace-cmd/plugins. While as of trace-cmd 2.9, I find the
> > traceevent plugins are installed in $(libdir) by default. This brings up
> > an interesting situation - the perf tool also contains a copy of the
> > traceevent in the same directory. So this means trace-cmd and perf have
> > file conflicts. In terms of packaging, this means users can only install
> > one of them, not in parallel (at least for Fedora). So I'd like to see
> > if there are existing proposals or suggestions for which one is expected
> > to be used by other utilities? Or is there any official plan to move one
> > of them to the other directory?
> > 
> > I'm copying Tzvetomir and Jiri as I think you're the first people for
> > getting the plugins in this directory for trace-cmd and perf
> > respectively.
> > 
> 
> Sorry, I just saw an email from Steven mentioning there will be a stand
> alone libtraceevent. However I did not find it in git.kernel.org. So I
> probably should ask if the stand alone version of libtraceevent is ready
> now?

In anticipation of this change I temporary packaged (for ALT) traceevent
into %_libdir while keeping traceevent form perf in %_libexecdir (for a
backward compatibility).

Thanks,

> 
> Thanks.
> 
> > Thanks in advance.
> > 
> 
> -- 
> Zamir SUN
> Fedora user
> GPG : 1D86 6D4A 49CE 4BBD 72CF FCF5 D856 6E11 F2A0 525E



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

  Powered by Linux