[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181204074739.GC16733@sejong>
Date: Tue, 4 Dec 2018 16:47:39 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Ingo Molnar <mingo@...nel.org>, Jiri Olsa <jolsa@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Tzvetomir Stoyanov <tstoyanov@...are.com>, kernel-team@....com
Subject: Re: [PATCH 3/9] tools/lib/traceevent: Install trace-seq.h API header
file
On Fri, Nov 30, 2018 at 10:44:06AM -0500, Steven Rostedt wrote:
> From: Tzvetomir Stoyanov <tstoyanov@...are.com>
>
> This patch installs trace-seq.h header file on "make install".
>
> Signed-off-by: Tzvetomir Stoyanov <tstoyanov@...are.com>
> Signed-off-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
> ---
> tools/lib/traceevent/Makefile | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
> index adb16f845ab3..67fe5d7ef190 100644
> --- a/tools/lib/traceevent/Makefile
> +++ b/tools/lib/traceevent/Makefile
> @@ -285,7 +285,7 @@ define do_install_pkgconfig_file
> fi
> endef
>
> -install_lib: all_cmd install_plugins install_pkgconfig
> +install_lib: all_cmd install_plugins install_headers install_pkgconfig
> $(call QUIET_INSTALL, $(LIB_TARGET)) \
> $(call do_install_mkdir,$(libdir_SQ)); \
> cp -fpR $(LIB_INSTALL) $(DESTDIR)$(libdir_SQ)
> @@ -302,6 +302,7 @@ install_headers:
> $(call QUIET_INSTALL, headers) \
> $(call do_install,event-parse.h,$(prefix)/include/traceevent,644); \
> $(call do_install,event-utils.h,$(prefix)/include/traceevent,644); \
> + $(call do_install,trace-seq.h,$(prefix)/include/traceevent,644); \
> $(call do_install,kbuffer.h,$(prefix)/include/traceevent,644)
Do you still wanna have 'traceevent' directory prefix? I just
sometimes feel a bit annoying to type it. ;-)
Or you can rename it something like 'tep' or 'libtep' - and hopefully
having only single header file to include..
Thanks,
Namhyung
>
> install: install_lib
> --
> 2.19.1
>
>
Powered by blists - more mailing lists