From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751310AbbCTSNQ (ORCPT ); Fri, 20 Mar 2015 14:13:16 -0400 Received: from foss.arm.com ([217.140.101.70]:40936 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbbCTSNN (ORCPT ); Fri, 20 Mar 2015 14:13:13 -0400 From: Javi Merino To: acme@redhat.com, jolsa@redhat.com Cc: linux-kernel@vger.kernel.org, Javi Merino Subject: [RESEND PATCH v8 0/2] Add array printing support to libtraceevent Date: Fri, 20 Mar 2015 18:12:54 +0000 Message-Id: <1426875176-30244-1-git-send-email-javi.merino@arm.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series add support to libtraceevent for dynamic arrays in traces. The kernel learned to create this traces in 6ea22486ba46 ("tracing: Add array printing helper"), which was merged for v4.0-rc1. Changes since v7[0]: - Call the fields of the struct print_arg_int_array "field", "count" and "el_size" to match the definition of __print_array as Namhyung Kim suggests. Incorporate his Acked-by. Changes since v6[1]: - s/alloc_and_process_arg/alloc_and_process_delim/ as Steven Rostedt suggests [0] http://thread.gmane.org/gmane.linux.kernel/1897935 [1] http://thread.gmane.org/gmane.linux.kernel/1896232 Javi Merino (2): tools lib traceevent: factor out allocating and processing args tools lib traceevent: Add support for __print_array() tools/lib/traceevent/event-parse.c | 158 +++++++++++++++++++++++++++++-------- tools/lib/traceevent/event-parse.h | 8 ++ 2 files changed, 135 insertions(+), 31 deletions(-) -- 1.9.1