linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libtraceevent and copy in linux/tools
@ 2021-04-21  3:09 Ian Rogers
  2021-04-21  3:27 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Rogers @ 2021-04-21  3:09 UTC (permalink / raw)
  To: linux-trace-devel

Hi,

libtracefs [1] has a dependency on tep_vwarning which is declared in
libtraceevent [2]. The libtraceevent in linux/tools lacks this [3] and
so trace-cmd, that requires libtracefs, can only be built with the
separate libtraceevent. I'm trying to avoid having two libtraceevent.
Should the copy in linux/tools be updated or should I not be using
that any more?

Thanks!
Ian

[1] https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/tree/src/tracefs-utils.c#n33
[2] https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/tree/src/parse-utils.c#n14
[3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/lib/traceevent/parse-utils.c#n14

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libtraceevent and copy in linux/tools
  2021-04-21  3:09 libtraceevent and copy in linux/tools Ian Rogers
@ 2021-04-21  3:27 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2021-04-21  3:27 UTC (permalink / raw)
  To: Ian Rogers; +Cc: linux-trace-devel

On Tue, 20 Apr 2021 20:09:25 -0700
Ian Rogers <irogers@google.com> wrote:

> Hi,
> 
> libtracefs [1] has a dependency on tep_vwarning which is declared in
> libtraceevent [2]. The libtraceevent in linux/tools lacks this [3] and
> so trace-cmd, that requires libtracefs, can only be built with the
> separate libtraceevent. I'm trying to avoid having two libtraceevent.
> Should the copy in linux/tools be updated or should I not be using
> that any more?

Yes, the libtraceevent in the linux kernel is deprecated, and once
libtraceveent is available in all major distros (from the separate
library), we will be removing it from the kernel and having perf use
the library version.

-- Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-21  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21  3:09 libtraceevent and copy in linux/tools Ian Rogers
2021-04-21  3:27 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).