Message ID | 20190206184903.24054-24-acme@kernel.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:7558:0:0:0:0:0 with SMTP id r24csp6437344oct; Wed, 6 Feb 2019 10:50:28 -0800 (PST) X-Google-Smtp-Source: AHgI3IaisvG+4FFfOHduDKFV1fO9Oov1NwE70eatC8OCojLCisEmn1qTIBUOsYwBd8pS5fAkCoQF X-Received: by 2002:a63:3287:: with SMTP id y129mr10949286pgy.337.1549479028469; Wed, 06 Feb 2019 10:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549479028; cv=none; d=google.com; s=arc-20160816; b=c4keUXfyMhJpmD/BRqw4zJc1Le/gN9uZ+CmkQQf7nX9A3P7RQdNOZlqDbBZwc6nRTL Rfz91ZRuD+hQqvFxHiQSKkx8nveb8rp38GrOWzCZFRfrezDwdlylzrpPVscEdX/+p11p 849wZLdh4TsZhL1CpBj1TVny0/LHR0Kpr1ugxOaPrIk3CgNLY3YsDZOLuzL7CkoO+pl2 QHCP1n8XYu/GO3elN2ZeFAsraavDFqk1K7+AnUwjFFHrbWZQHpXuf3kil06xENuaGtDd 3pgB+QVWB9bXEjM/Lncwbp/FuPeBb4pJr57ukjbkWstr7a3x12pfSGMfO2FIntMYF9qk K3Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MmkfSS1eX9Jn8H0QLOX+GBPDHEYU9rtZSBFEPv/Aee8=; b=GBFaLplMGMFpAvZ3ioxDvg28wUJ7tBKExtMdamIeg4qjjAa9lkeUSOVOiNJeldJMsD av1/FnjDFU2R/jrg0k/BhRY9G2xbFP6WWBIKnhlkwCXD3SWBsKBPOttWK48EpgxTZ/ns P+fHs69QtmeacToIVIdNSnAmsxfluXKjR5xfZorxET+lxv0FTLIQwzGIFPXOQ1ISiLBF cQvbASiZQEWC7rYtu5zUvThwYcXHIUPaZrv7WBPX6aPMpaVCmNlAcNIExwIuFh0KhQdI wZPEGplpgYp3I19ThYh04p1wfthqzSrlX6mo7wymh+ygyA++J28X8NPxOxCAOEYYKcEp jgzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r+thPVyB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b128si6849219pfa.283.2019.02.06.10.50.28; Wed, 06 Feb 2019 10:50:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r+thPVyB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727587AbfBFSu0 (ORCPT <rfc822;igor.opaniuk@linaro.org> + 31 others); Wed, 6 Feb 2019 13:50:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:44716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726962AbfBFSu0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 6 Feb 2019 13:50:26 -0500 Received: from quaco.ghostprotocols.net (unknown [179.97.41.93]) (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 B968E206DD; Wed, 6 Feb 2019 18:50:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549479025; bh=yFzwU85Wp2pea7M0l1DKYbEgh3xwEQzw/mAvyvPsWRA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r+thPVyB+wfKiedlQaZ/pVZ58HPIzT81507mHnqY79MJxofX3T8kkdcgpFYKdtsm7 BxqXh3PnigeKglazpCNONBc6SuBYKo38tEDBDCaAArt7bUSqM8WoIQ6IXEv5XZMK5O XYlejuldXa9fkdPd2WF4JR9o+itVyWC72uUHByNQ= From: Arnaldo Carvalho de Melo <acme@kernel.org> To: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Clark Williams <williams@redhat.com>, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Mathieu Poirier <mathieu.poirier@linaro.org>, Suzuki K Poulouse <suzuki.poulose@arm.com>, Adrian Hunter <adrian.hunter@intel.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Alexei Starovoitov <ast@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, "H . Peter Anvin" <hpa@zytor.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, Jiri Olsa <jolsa@redhat.com>, Mark Rutland <mark.rutland@arm.com>, Martin Schwidefsky <schwidefsky@de.ibm.com>, Peter Zijlstra <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, Will Deacon <will.deacon@arm.com>, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, Arnaldo Carvalho de Melo <acme@redhat.com> Subject: [PATCH 23/53] perf pmu: Move EVENT_SOURCE_DEVICE_PATH to PMU header file Date: Wed, 6 Feb 2019 15:48:33 -0300 Message-Id: <20190206184903.24054-24-acme@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190206184903.24054-1-acme@kernel.org> References: <20190206184903.24054-1-acme@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index 11a234740632..51d437f55d18 100644 --- a/tools/perf/util/pmu.c +++ b/tools/perf/util/pmu.c @@ -29,8 +29,6 @@ struct perf_pmu_format { struct list_head list; }; -#define EVENT_SOURCE_DEVICE_PATH "/bus/event_source/devices/" - int perf_pmu_parse(struct list_head *list, char *name); extern FILE *perf_pmu_in; diff --git a/tools/perf/util/pmu.h b/tools/perf/util/pmu.h index ffed23fb920a..1c12a61ed0dc 100644 --- a/tools/perf/util/pmu.h +++ b/tools/perf/util/pmu.h @@ -17,6 +17,7 @@ enum { }; #define PERF_PMU_FORMAT_BITS 64 +#define EVENT_SOURCE_DEVICE_PATH "/bus/event_source/devices/" struct perf_event_attr;