From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753521Ab3AZR2i (ORCPT ); Sat, 26 Jan 2013 12:28:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6435 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753059Ab3AZR2V (ORCPT ); Sat, 26 Jan 2013 12:28:21 -0500 From: Jiri Olsa To: linux-kernel@vger.kernel.org Cc: Jiri Olsa , Corey Ashford , Frederic Weisbecker , Ingo Molnar , Namhyung Kim , Paul Mackerras , Peter Zijlstra , Arnaldo Carvalho de Melo , Andi Kleen , David Ahern Subject: [PATCH 0/9] perf: Adding better precise_ip field handling Date: Sat, 26 Jan 2013 18:27:46 +0100 Message-Id: <1359221275-24254-1-git-send-email-jolsa@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, adding sysfs attribute to specify the maximum allowed value for perf_event_attr::precise_ip field. Adding functionality for simple 'precise' term to get the maximum allowed value for perf_event_attr::precise_ip field. And finally adding several precise automated tests. thanks, jirka Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --- Andi Kleen (1): perf tools: Add a precise event qualifier Jiri Olsa (8): perf x86: Add precise sysfs cpu pmu attribute perf tools: Add precise object to interface sysfs precise perf tests: Add precise event automated test perf tools: Read maximal precise value for 'precise' term perf tools: Favor 'p' modifier before 'precise' term properly perf tests: Add automated precise term test perf: Document the ABI for 'precise' sysfs attribute perf: Document the ABI for 'rdpmc' sysfs attribute Documentation/ABI/testing/sysfs-bus-event_source-cpu-precise | 10 ++++++++++ Documentation/ABI/testing/sysfs-bus-event_source-cpu-rdpmc | 8 ++++++++ arch/x86/kernel/cpu/perf_event.c | 34 +++++++++++++++++++++++--------- tools/perf/Makefile | 2 ++ tools/perf/tests/builtin-test.c | 4 ++++ tools/perf/tests/parse-events.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/tests/precise.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/tests/tests.h | 1 + tools/perf/util/parse-events.c | 38 +++++++++++++++++++++++++++++++++++- tools/perf/util/parse-events.h | 3 +++ tools/perf/util/parse-events.l | 1 + tools/perf/util/parse-events.y | 2 +- tools/perf/util/precise.c | 45 +++++++++++++++++++++++++++++++++++++++++++ tools/perf/util/util.h | 2 ++ 14 files changed, 266 insertions(+), 11 deletions(-)