Message ID | 20190222180539.27439-4-kaslevs@vmware.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-trace-devel-owner@kernel.org> 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 0C54A922 for <patchwork-linux-trace-devel@patchwork.kernel.org>; Fri, 22 Feb 2019 18:05:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F21A132A79 for <patchwork-linux-trace-devel@patchwork.kernel.org>; Fri, 22 Feb 2019 18:05:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E6D5832A80; Fri, 22 Feb 2019 18:05: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 7632632A79 for <patchwork-linux-trace-devel@patchwork.kernel.org>; Fri, 22 Feb 2019 18:05:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726753AbfBVSFv (ORCPT <rfc822;patchwork-linux-trace-devel@patchwork.kernel.org>); Fri, 22 Feb 2019 13:05:51 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52611 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbfBVSFv (ORCPT <rfc822;linux-trace-devel@vger.kernel.org>); Fri, 22 Feb 2019 13:05:51 -0500 Received: by mail-wm1-f68.google.com with SMTP id m1so2779007wml.2 for <linux-trace-devel@vger.kernel.org>; Fri, 22 Feb 2019 10:05:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ebx/6PKF298evGUiQpbCn8tno+rQu+UODpYT6m+zsg0=; b=S7NZBb7bf6Yal6S/QL2ZIZNBrbS0utx+8yqpe0MPLOi0lrwuD7R8cDx29WgA7e1/0/ QeS/uiGcrJtJLtAX1GJrmHfV44MU2kvukk+AZJt0jgONVix1oG4R6THm2WnIMWxy1hIS t2hPsmad8xk55phbdSevwrjjz6koVNSqKz0P2LhtcrxxfGeiX4e+FnkvySA0simUNSS7 oFvfSJdfelpNQm5ghcmrUqDfZFJENu/7hwovooXJ62R2MJmmtQ6zCaVOfrRIcKCNCtfK 0/LwCD6KvZEe3ekQg6bAU1dfyzzLWpmc3Q/S/SyN6G4Jf+eYGFAwLsf9vWx+EY0Nw4+i SSQw== X-Gm-Message-State: AHQUAub0WChXFP4AyVq6JEOF+9954EtO7tvax905Ak/VEZg48uXAj1HE YHrMHvxoDb0JjWZPZd0qQRD0y0s= X-Google-Smtp-Source: AHgI3Ia7qnIjmxG3cx+vEQLaX6rXQ0BtddWci1yw9hVbh8mGZaih8Mcol6iU0PT1xfM4aAvS6EDtHA== X-Received: by 2002:a1c:98c9:: with SMTP id a192mr3458887wme.114.1550858749491; Fri, 22 Feb 2019 10:05:49 -0800 (PST) Received: from localhost.localdomain ([146.247.46.6]) by smtp.gmail.com with ESMTPSA id c18sm1320678wre.32.2019.02.22.10.05.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Feb 2019 10:05:48 -0800 (PST) From: Slavomir Kaslev <kaslevs@vmware.com> To: linux-trace-devel@vger.kernel.org Cc: rostedt@goodmis.org, slavomir.kaslev@gmail.com Subject: [RFC PATCH v8 03/13] trace-cmd: Detect if vsockets are available Date: Fri, 22 Feb 2019 20:05:29 +0200 Message-Id: <20190222180539.27439-4-kaslevs@vmware.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190222180539.27439-1-kaslevs@vmware.com> References: <20190222180539.27439-1-kaslevs@vmware.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-trace-devel.vger.kernel.org> X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add VM kernel tracing over vsockets and FIFOs
|
expand
|
diff --git a/Makefile b/Makefile index b780718..99e4f39 100644 --- a/Makefile +++ b/Makefile @@ -204,6 +204,13 @@ CFLAGS ?= -g -Wall CPPFLAGS ?= LDFLAGS ?= +VSOCK_DEFINED := $(shell if (echo "\#include <linux/vm_sockets.h>" | $(CC) -E - >/dev/null 2>&1) ; then echo 1; else echo 0 ; fi) + +export VSOCK_DEFINED +ifeq ($(VSOCK_DEFINED), 1) +CFLAGS += -DVSOCK +endif + export CFLAGS export INCLUDES