From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932227AbaEEMdy (ORCPT ); Mon, 5 May 2014 08:33:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40249 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932128AbaEEMdx (ORCPT ); Mon, 5 May 2014 08:33:53 -0400 From: Jiri Olsa To: linux-kernel@vger.kernel.org Cc: Arnaldo Carvalho de Melo , Corey Ashford , David Ahern , Frederic Weisbecker , Ingo Molnar , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Jiri Olsa Subject: [PATCH 00/10] perf tools: perf.h cleanups Date: Mon, 5 May 2014 14:33:29 +0200 Message-Id: <1399293219-8732-1-git-send-email-jolsa@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, moving syscall function and arch related defines into new header 'perf-sys.h' as requested by Peter in: http://lkml.kernel.org/r/20140502115201.GI30445@twins.programming.kicks-ass.net While at it I did some clean ups in perf.h header. Hopefully I did not brake anyone's usage of perf.h .. let me know ;-) Also available in here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/header_1 thanks, jirka --- Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Signed-off-by: Jiri Olsa Jiri Olsa (10): perf tools: Remove MAX_COUNTERS define from perf.h perf tools: Remove unlikely define from perf.h perf tools: Remove min define from perf.h perf tools: Remove asmlinkage define from perf.h perf tools: Remove PR_TASK_PERF_EVENTS_* from perf.h perf tools: Move sample data structures from perf.h perf tools: Move perf_call_graph_mode enum from perf.h perf tools: Move syscall and arch specific defines from perf.h perf tools: Move sys_perf_event_open function from perf.h perf tools: Move ACCESS_ONCE from perf.h header tools/perf/perf-sys.h | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/perf.h | 250 ++++--------------------------------------------------------------------------------------------------- tools/perf/util/callchain.h | 7 +++ tools/perf/util/event.h | 24 ++++++++++ tools/perf/util/evlist.h | 2 + tools/perf/util/symbol.h | 1 + 6 files changed, 232 insertions(+), 242 deletions(-) create mode 100644 tools/perf/perf-sys.h