All of lore.kernel.org
 help / color / mirror / Atom feed
* trace libraries install path
@ 2018-12-03 14:22 Tzvetomir Stoyanov
  2018-12-03 15:22 ` Steven Rostedt
  0 siblings, 1 reply; 3+ messages in thread
From: Tzvetomir Stoyanov @ 2018-12-03 14:22 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

Hi Steven,
While porting those two patches from linux to trace-cmd tree:
    [PATCH 3/9] tools/lib/traceevent: Install trace-seq.h API header file
    [PATCH 2/9] tools/lib/traceevent: Added support for pkg-config
I noticed a mismatch between linux and trace-cmd in logic installing
library header files, in main Makefile:
  linux code installs library headers in  "$(prefix)/include/traceevent"
  trace-cmd code nstalls library headers in "$(prefix)/include/trace-cmd"
This is the destination install path of traceevent library header files:
   event-parse.h, event-utils.h, trace-seq.h, kbuffer.h

We should make it consistent, what install folder to choose for those files ?
-- 
Tzvetomir (Ceco) Stoyanov
VMware Open Source Technology Center

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

* Re: trace libraries install path
  2018-12-03 14:22 trace libraries install path Tzvetomir Stoyanov
@ 2018-12-03 15:22 ` Steven Rostedt
  2018-12-03 17:31   ` Tzvetomir Stoyanov
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Rostedt @ 2018-12-03 15:22 UTC (permalink / raw)
  To: Tzvetomir Stoyanov; +Cc: linux-trace-devel

On Mon, 3 Dec 2018 14:22:01 +0000
Tzvetomir Stoyanov <tstoyanov@vmware.com> wrote:

> Hi Steven,
> While porting those two patches from linux to trace-cmd tree:
>     [PATCH 3/9] tools/lib/traceevent: Install trace-seq.h API header file
>     [PATCH 2/9] tools/lib/traceevent: Added support for pkg-config
> I noticed a mismatch between linux and trace-cmd in logic installing
> library header files, in main Makefile:
>   linux code installs library headers in  "$(prefix)/include/traceevent"
>   trace-cmd code nstalls library headers in "$(prefix)/include/trace-cmd"
> This is the destination install path of traceevent library header files:
>    event-parse.h, event-utils.h, trace-seq.h, kbuffer.h
> 
> We should make it consistent, what install folder to choose for those files ?

Actually they should just follow the paths in trace-cmd.git. That is,
those in include/traceevent/* go into $(prefix)/include/traceevent and
those in include/trace-cmd/* go into $(prefix)/include/trace-cmd

Make sense?

-- Steve

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

* Re: trace libraries install path
  2018-12-03 15:22 ` Steven Rostedt
@ 2018-12-03 17:31   ` Tzvetomir Stoyanov
  0 siblings, 0 replies; 3+ messages in thread
From: Tzvetomir Stoyanov @ 2018-12-03 17:31 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

On Mon, Dec 3, 2018 at 5:22 PM Steven Rostedt <rostedt@goodmis.org> wrote:
>
> On Mon, 3 Dec 2018 14:22:01 +0000
> Tzvetomir Stoyanov <tstoyanov@vmware.com> wrote:
>
> > Hi Steven,
> > While porting those two patches from linux to trace-cmd tree:
> >     [PATCH 3/9] tools/lib/traceevent: Install trace-seq.h API header file
> >     [PATCH 2/9] tools/lib/traceevent: Added support for pkg-config
> > I noticed a mismatch between linux and trace-cmd in logic installing
> > library header files, in main Makefile:
> >   linux code installs library headers in  "$(prefix)/include/traceevent"
> >   trace-cmd code nstalls library headers in "$(prefix)/include/trace-cmd"
> > This is the destination install path of traceevent library header files:
> >    event-parse.h, event-utils.h, trace-seq.h, kbuffer.h
> >
> > We should make it consistent, what install folder to choose for those files ?
>
> Actually they should just follow the paths in trace-cmd.git. That is,
> those in include/traceevent/* go into $(prefix)/include/traceevent and
> those in include/trace-cmd/* go into $(prefix)/include/trace-cmd
>
> Make sense?
>
> -- Steve

Yes, sounds logical. I'll do it this way.

-- 
Tzvetomir (Ceco) Stoyanov
VMware Open Source Technology Center

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

end of thread, other threads:[~2018-12-03 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-03 14:22 trace libraries install path Tzvetomir Stoyanov
2018-12-03 15:22 ` Steven Rostedt
2018-12-03 17:31   ` Tzvetomir Stoyanov

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.