Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754385AbZKQPPH (ORCPT ); Tue, 17 Nov 2009 10:15:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754215AbZKQPPF (ORCPT ); Tue, 17 Nov 2009 10:15:05 -0500 Received: from ns.dcl.info.waseda.ac.jp ([133.9.216.194]:56773 "EHLO ns.dcl.info.waseda.ac.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753628AbZKQPPE (ORCPT ); Tue, 17 Nov 2009 10:15:04 -0500 From: Hitoshi Mitake To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Hitoshi Mitake , Peter Zijlstra , Paul Mackerras , Frederic Weisbecker , Ling Ma Subject: [PATCH v2 2/4] perf bench: Modify bench.h for prototype of bench_mem_memcpy() Date: Wed, 18 Nov 2009 00:15:01 +0900 Message-Id: <1258470903-29577-2-git-send-email-mitake@dcl.info.waseda.ac.jp> X-Mailer: git-send-email 1.6.5.2 In-Reply-To: <20091118.001135.11492872.mitake@dcl.info.waseda.ac.jp> References: <20091118.001135.11492872.mitake@dcl.info.waseda.ac.jp> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1541 Lines: 46 This patch modifies bench.h to add the prototype of new function bench_mem_memcpy(), memcpy() benchmark suite. Signed-off-by: Hitoshi Mitake Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Frederic Weisbecker Cc: Ling Ma --- tools/perf/bench/bench.h | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/tools/perf/bench/bench.h b/tools/perf/bench/bench.h index 3c64205..f7781c6 100644 --- a/tools/perf/bench/bench.h +++ b/tools/perf/bench/bench.h @@ -3,6 +3,7 @@ extern int bench_sched_messaging(int argc, const char **argv, const char *prefix); extern int bench_sched_pipe(int argc, const char **argv, const char *prefix); +extern int bench_mem_memcpy(int argc, const char **argv, const char *prefix __used); #define BENCH_FORMAT_DEFAULT_STR "default" #define BENCH_FORMAT_DEFAULT 0 @@ -13,13 +14,4 @@ extern int bench_sched_pipe(int argc, const char **argv, const char *prefix); extern int bench_format; -#define BENCH_FORMAT_DEFAULT_STR "default" -#define BENCH_FORMAT_DEFAULT 0 -#define BENCH_FORMAT_SIMPLE_STR "simple" -#define BENCH_FORMAT_SIMPLE 1 - -#define BENCH_FORMAT_UNKNOWN -1 - -extern int bench_format; - #endif -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/