From patchwork Sat Jul 20 03:03:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick McLean X-Patchwork-Id: 11050757 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D69881823 for ; Sat, 20 Jul 2019 03:03:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6EA4289AB for ; Sat, 20 Jul 2019 03:03:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C55C7289CD; Sat, 20 Jul 2019 03:03:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FE35289AB for ; Sat, 20 Jul 2019 03:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390431AbfGTDD5 (ORCPT ); Fri, 19 Jul 2019 23:03:57 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:39664 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728058AbfGTDD5 (ORCPT ); Fri, 19 Jul 2019 23:03:57 -0400 Received: from chiana.gaikai.org (unknown [100.42.98.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chutzpah) by smtp.gentoo.org (Postfix) with ESMTPSA id 81B6F34812A for ; Sat, 20 Jul 2019 03:03:56 +0000 (UTC) From: Patrick McLean To: linux-trace-devel@vger.kernel.org Subject: [PATCH 3/4] trace-cmd: Install all headers needed by kernelshark to proper paths Date: Fri, 19 Jul 2019 20:03:43 -0700 Message-Id: <20190720030344.1991393-4-chutzpah@gentoo.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190720030344.1991393-1-chutzpah@gentoo.org> References: <20190720030344.1991393-1-chutzpah@gentoo.org> MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Patrick McLean The trace-cmd build system installs headers for building kernelshark, but it is missing trace-seq.h and trace-filter-hash.h. It additionally installs event-parse.h to the toplevel "trace-cmd" include directory, but the generated header includes it as "traceevent/event-parse.h" so the kernelshark build fails. This patch installs all the headers needed to build kernelshark to the appropiate directories. Signed-off-by: Patrick McLean --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b85e21..3bab851 100644 --- a/Makefile +++ b/Makefile @@ -345,8 +345,10 @@ install_gui: install_cmd gui install_libs: libs $(Q)$(call do_install,$(LIBTRACECMD_SHARED),$(libdir_SQ)) $(Q)$(call do_install,$(LIBTRACEEVENT_SHARED),$(libdir_SQ)) - $(Q)$(call do_install,$(src)/include/traceevent/event-parse.h,$(includedir_SQ)) + $(Q)$(call do_install,$(src)/include/traceevent/event-parse.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)) + $(Q)$(call do_install,$(src)/include/trace-cmd/trace-filter-hash.h,$(includedir_SQ)) doc: $(MAKE) -C $(src)/Documentation all