From patchwork Thu Jun 27 17:05:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 11020101 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 9B1D913B4 for ; Thu, 27 Jun 2019 17:07:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CCAD286D1 for ; Thu, 27 Jun 2019 17:07:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81446286D0; Thu, 27 Jun 2019 17:07:35 +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 285C9286C8 for ; Thu, 27 Jun 2019 17:07:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726480AbfF0RHf (ORCPT ); Thu, 27 Jun 2019 13:07:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:54104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbfF0RHe (ORCPT ); Thu, 27 Jun 2019 13:07:34 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D71BA205F4; Thu, 27 Jun 2019 17:07:33 +0000 (UTC) Received: from rostedt by gandalf.local.home with local (Exim 4.92) (envelope-from ) id 1hgXrw-0004Ty-UP; Thu, 27 Jun 2019 13:07:32 -0400 Message-Id: <20190627170553.050679238@goodmis.org> User-Agent: quilt/0.65 Date: Thu, 27 Jun 2019 13:05:53 -0400 From: Steven Rostedt To: linux-trace-devel@vger.kernel.org Cc: Yordan Karadzhov , Troy Engel Subject: [PATCH v2 0/3] kernel-shark: Make some top level "make" changes and documention updates 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 This is built on top of the three patches from Yordan that can be found here: https://patchwork.kernel.org/project/linux-trace-devel/list/?series=132531 It makes "make clean" remove cmake generated files (my build failed and I couldn't figure out why. "make clean" should allow builds to build again when CMake files change). I also adde a "make BUILD_TYPE=foo" to pass to the cmake command to change the CMAKE_BUILD_TYPE to allow an easy build by the package maintainers to change how KernelShark is built. It also updates the README with the current way to build KernelShark. Changes from v1: - Added a patch to first change the README to the latest make process - Incorporated Yordan's suggestions about breaking up the build documentation into two sections, one explaining the "simple" method from the toplevel git repo, and the other explaining the "expert" method using cmake directly. Steven Rostedt (VMware) (3): kernelshark: Update the README for changes to the make process kernel-shark: Have "make clean" run cmake-clean.sh kernel-shark: Add 'make BUILD_TYPE=X gui' to change how the gui is made ---- Makefile | 6 ++++- kernel-shark/CMakeLists.txt | 2 +- kernel-shark/README | 63 +++++++++++++++++++++++++++++++++++++-------- 3 files changed, 58 insertions(+), 13 deletions(-)