From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752876AbbHaIcA (ORCPT ); Mon, 31 Aug 2015 04:32:00 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37852 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752180AbbHaIb6 (ORCPT ); Mon, 31 Aug 2015 04:31:58 -0400 Date: Mon, 31 Aug 2015 01:31:42 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: hpa@zytor.com, linux-kernel@vger.kernel.org, dsahern@gmail.com, bp@suse.de, mingo@kernel.org, acme@redhat.com, adrian.hunter@intel.com, jolsa@redhat.com, eranian@google.com, fweisbec@gmail.com, namhyung@kernel.org, tglx@linutronix.de Reply-To: mingo@kernel.org, dsahern@gmail.com, linux-kernel@vger.kernel.org, bp@suse.de, hpa@zytor.com, namhyung@kernel.org, tglx@linutronix.de, fweisbec@gmail.com, eranian@google.com, jolsa@redhat.com, adrian.hunter@intel.com, acme@redhat.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf trace: Add header with copyright and background info Git-Commit-ID: a598bb5e3558509cbb8aa1d422071ef61fda9d77 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: a598bb5e3558509cbb8aa1d422071ef61fda9d77 Gitweb: http://git.kernel.org/tip/a598bb5e3558509cbb8aa1d422071ef61fda9d77 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 28 Aug 2015 12:02:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:48 -0300 perf trace: Add header with copyright and background info Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-5yqtfs728r1j1u8zmg8ufxwm@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/builtin-trace.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 2f1162d..4e3abba 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -1,3 +1,21 @@ +/* + * builtin-trace.c + * + * Builtin 'trace' command: + * + * Display a continuously updated trace of any workload, CPU, specific PID, + * system wide, etc. Default format is loosely strace like, but any other + * event may be specified using --event. + * + * Copyright (C) 2012, 2013, 2014, 2015 Red Hat Inc, Arnaldo Carvalho de Melo + * + * Initially based on the 'trace' prototype by Thomas Gleixner: + * + * http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'") + * + * Released under the GPL v2. (and only v2, not any later version) + */ + #include #include "builtin.h" #include "util/color.h" @@ -27,6 +45,7 @@ #ifndef MADV_HWPOISON # define MADV_HWPOISON 100 + #endif #ifndef MADV_MERGEABLE