From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752811AbdJaJ3v (ORCPT ); Tue, 31 Oct 2017 05:29:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57620 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752587AbdJaJ3t (ORCPT ); Tue, 31 Oct 2017 05:29:49 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7CF8BC059721 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=jolsa@kernel.org DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 7CF8BC059721 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , David Ahern , Peter Zijlstra Subject: [PATCH 0/7] perf tools: Small sample parsing speedup Date: Tue, 31 Oct 2017 10:29:40 +0100 Message-Id: <20171031092947.19410-1-jolsa@kernel.org> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 31 Oct 2017 09:29:49 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, sending small speedup fix for sample parsing code and few assorted fixes. Also available in: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/fixes thanks, jirka --- Jiri Olsa (7): perf tools: Reset cursor arg instead of callchain_cursor perf tools: Centralize perf_sample initialization perf tools: Add perf_evlist__parse_sample_timestamp function perf tools: Pass timestamp arg in perf_session__queue_event perf tools: Optimize sample parsing for ordered events perf tools: Remove perf_tool from event_op2 perf tools: Remove perf_tool from event_op3 tools/perf/builtin-inject.c | 32 ++++++++++++++------------------ tools/perf/builtin-kvm.c | 8 ++++---- tools/perf/builtin-script.c | 22 ++++++++++------------ tools/perf/builtin-stat.c | 23 +++++++++++------------ tools/perf/util/auxtrace.c | 17 +++++++---------- tools/perf/util/auxtrace.h | 15 ++++++--------- tools/perf/util/evlist.c | 11 +++++++++++ tools/perf/util/evlist.h | 4 ++++ tools/perf/util/evsel.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- tools/perf/util/evsel.h | 4 ++++ tools/perf/util/header.c | 16 +++++++--------- tools/perf/util/header.h | 15 ++++++--------- tools/perf/util/machine.c | 2 +- tools/perf/util/ordered-events.c | 3 +-- tools/perf/util/ordered-events.h | 2 +- tools/perf/util/session.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------- tools/perf/util/session.h | 7 +++---- tools/perf/util/stat.c | 5 ++--- tools/perf/util/stat.h | 5 ++--- tools/perf/util/tool.h | 7 ++----- 20 files changed, 208 insertions(+), 181 deletions(-)