All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libtraceevent: Install kbuffer.h from the install_lib make target
@ 2020-11-24 17:27 Marcelo Diop-Gonzalez
  2020-11-24 17:30 ` Marcelo Diop-Gonzalez
  0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Diop-Gonzalez @ 2020-11-24 17:27 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel, Marcelo Diop-Gonzalez

This file is included in the list of installed headers in
./tools/lib/traceevent in the kernel tree, but was left out here.

Signed-off-by: Marcelo Diop-Gonzalez <marcelo827@gmail.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 8626b91..72ec2d0 100644
--- a/Makefile
+++ b/Makefile
@@ -418,6 +418,7 @@ install_libs: libs
 	$(Q)$(call do_install,$(LIBTRACEEVENT_SHARED),$(libdir_SQ)/traceevent)
 	$(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)/tracefs)
 	$(Q)$(call do_install,$(src)/include/traceevent/event-parse.h,$(includedir_SQ)/traceevent)
+	$(Q)$(call do_install,$(src)/include/traceevent/kbuffer.h,$(includedir_SQ)/traceevent)
 	$(Q)$(call do_install,$(src)/include/traceevent/trace-seq.h,$(includedir_SQ)/traceevent)
 	$(Q)$(call do_install,$(src)/include/trace-cmd/trace-cmd.h,$(includedir_SQ)/trace-cmd)
 	$(Q)$(call do_install,$(src)/include/tracefs/tracefs.h,$(includedir_SQ)/tracefs)
-- 
2.20.1


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

* Re: [PATCH] libtraceevent: Install kbuffer.h from the install_lib make target
  2020-11-24 17:27 [PATCH] libtraceevent: Install kbuffer.h from the install_lib make target Marcelo Diop-Gonzalez
@ 2020-11-24 17:30 ` Marcelo Diop-Gonzalez
  2020-11-24 22:02   ` Steven Rostedt
  0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Diop-Gonzalez @ 2020-11-24 17:30 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

I figured I'd send this because it might have been left out by mistake
given that it's included in the library in the kernel tree, and I've
been working on a program that uses kbuffer.h, so thought other people
might find it useful, too. Feel free to ignore if it was left out on
purpose, though

-Marcelo


On Tue, Nov 24, 2020 at 12:28 PM Marcelo Diop-Gonzalez
<marcelo827@gmail.com> wrote:
>
> This file is included in the list of installed headers in
> ./tools/lib/traceevent in the kernel tree, but was left out here.
>
> Signed-off-by: Marcelo Diop-Gonzalez <marcelo827@gmail.com>
> ---
>  Makefile | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Makefile b/Makefile
> index 8626b91..72ec2d0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -418,6 +418,7 @@ install_libs: libs
>         $(Q)$(call do_install,$(LIBTRACEEVENT_SHARED),$(libdir_SQ)/traceevent)
>         $(Q)$(call do_install,$(LIBTRACEFS_SHARED),$(libdir_SQ)/tracefs)
>         $(Q)$(call do_install,$(src)/include/traceevent/event-parse.h,$(includedir_SQ)/traceevent)
> +       $(Q)$(call do_install,$(src)/include/traceevent/kbuffer.h,$(includedir_SQ)/traceevent)
>         $(Q)$(call do_install,$(src)/include/traceevent/trace-seq.h,$(includedir_SQ)/traceevent)
>         $(Q)$(call do_install,$(src)/include/trace-cmd/trace-cmd.h,$(includedir_SQ)/trace-cmd)
>         $(Q)$(call do_install,$(src)/include/tracefs/tracefs.h,$(includedir_SQ)/tracefs)
> --
> 2.20.1
>

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

* Re: [PATCH] libtraceevent: Install kbuffer.h from the install_lib make target
  2020-11-24 17:30 ` Marcelo Diop-Gonzalez
@ 2020-11-24 22:02   ` Steven Rostedt
  2020-11-24 22:11     ` Steven Rostedt
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Rostedt @ 2020-11-24 22:02 UTC (permalink / raw)
  To: Marcelo Diop-Gonzalez; +Cc: linux-trace-devel

On Tue, 24 Nov 2020 12:30:28 -0500
Marcelo Diop-Gonzalez <marcelo827@gmail.com> wrote:

> I figured I'd send this because it might have been left out by mistake
> given that it's included in the library in the kernel tree, and I've
> been working on a program that uses kbuffer.h, so thought other people
> might find it useful, too. Feel free to ignore if it was left out on
> purpose, though
> 

Thanks! This was definitely an oversight on my part. I'll add your
patch next week as I'm not starting my turkey vacation ;-)

-- Steve

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

* Re: [PATCH] libtraceevent: Install kbuffer.h from the install_lib make target
  2020-11-24 22:02   ` Steven Rostedt
@ 2020-11-24 22:11     ` Steven Rostedt
  2020-11-25  0:44       ` Marcelo Diop-Gonzalez
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Rostedt @ 2020-11-24 22:11 UTC (permalink / raw)
  To: Marcelo Diop-Gonzalez; +Cc: linux-trace-devel

On Tue, 24 Nov 2020 17:02:58 -0500
Steven Rostedt <rostedt@goodmis.org> wrote:

> On Tue, 24 Nov 2020 12:30:28 -0500
> Marcelo Diop-Gonzalez <marcelo827@gmail.com> wrote:
> 
> > I figured I'd send this because it might have been left out by mistake
> > given that it's included in the library in the kernel tree, and I've
> > been working on a program that uses kbuffer.h, so thought other people
> > might find it useful, too. Feel free to ignore if it was left out on
> > purpose, though
> >   
> 
> Thanks! This was definitely an oversight on my part. I'll add your
> patch next week as I'm not starting my turkey vacation ;-)
> 

I took a quick look before my vacation, and noticed that kbuffer.h is
already there. Then I noticed that this is for the trace-cmd.git tree.

The code in trace-cmd.git is now obsolete, and will not be updated for
libtraceevent work.

libtraceevent.git now lives at:

  https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/

And we are also moving out libtracefs.git:

  https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/

Sorry for the confusion. We are trying to clean things up, and probably
sometime next year, I'll be removing the libtraceevent and libtracefs
code from trace-cmd.git, and it will then depend on these as separate
packages.

Please feel free to look at those repositories. The libtraceevent is
pretty much stable (but will probably be updated as the kernel gets
updated), but the libtracefs has a lot more to expand on. It is going
to be the API to communicate with the /sys/kernel/tracing directory.

Cheers!

--- Steve

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

* Re: [PATCH] libtraceevent: Install kbuffer.h from the install_lib make target
  2020-11-24 22:11     ` Steven Rostedt
@ 2020-11-25  0:44       ` Marcelo Diop-Gonzalez
  0 siblings, 0 replies; 5+ messages in thread
From: Marcelo Diop-Gonzalez @ 2020-11-25  0:44 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: linux-trace-devel

Sounds good! Thanks for taking a look at it.

-Marcelo

On Tue, Nov 24, 2020 at 5:11 PM Steven Rostedt <rostedt@goodmis.org> wrote:
>
> On Tue, 24 Nov 2020 17:02:58 -0500
> Steven Rostedt <rostedt@goodmis.org> wrote:
>
> > On Tue, 24 Nov 2020 12:30:28 -0500
> > Marcelo Diop-Gonzalez <marcelo827@gmail.com> wrote:
> >
> > > I figured I'd send this because it might have been left out by mistake
> > > given that it's included in the library in the kernel tree, and I've
> > > been working on a program that uses kbuffer.h, so thought other people
> > > might find it useful, too. Feel free to ignore if it was left out on
> > > purpose, though
> > >
> >
> > Thanks! This was definitely an oversight on my part. I'll add your
> > patch next week as I'm not starting my turkey vacation ;-)
> >
>
> I took a quick look before my vacation, and noticed that kbuffer.h is
> already there. Then I noticed that this is for the trace-cmd.git tree.
>
> The code in trace-cmd.git is now obsolete, and will not be updated for
> libtraceevent work.
>
> libtraceevent.git now lives at:
>
>   https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
>
> And we are also moving out libtracefs.git:
>
>   https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
>
> Sorry for the confusion. We are trying to clean things up, and probably
> sometime next year, I'll be removing the libtraceevent and libtracefs
> code from trace-cmd.git, and it will then depend on these as separate
> packages.
>
> Please feel free to look at those repositories. The libtraceevent is
> pretty much stable (but will probably be updated as the kernel gets
> updated), but the libtracefs has a lot more to expand on. It is going
> to be the API to communicate with the /sys/kernel/tracing directory.
>
> Cheers!
>
> --- Steve

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

end of thread, other threads:[~2020-11-25  0:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 17:27 [PATCH] libtraceevent: Install kbuffer.h from the install_lib make target Marcelo Diop-Gonzalez
2020-11-24 17:30 ` Marcelo Diop-Gonzalez
2020-11-24 22:02   ` Steven Rostedt
2020-11-24 22:11     ` Steven Rostedt
2020-11-25  0:44       ` Marcelo Diop-Gonzalez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.