Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934727AbZIEBNi (ORCPT ); Fri, 4 Sep 2009 21:13:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934611AbZIEBNS (ORCPT ); Fri, 4 Sep 2009 21:13:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5426 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934569AbZIEBNL (ORCPT ); Fri, 4 Sep 2009 21:13:11 -0400 From: jolsa@redhat.com To: mingo@elte.hu, rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org Subject: [PATCHv2 0/3] tracing - adding common method for reading/parsing user input Date: Sat, 5 Sep 2009 03:12:58 +0200 Message-Id: <1252113181-3325-1-git-send-email-jolsa@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 847 Lines: 26 As 3 different places for 4 user input files were using the same way of reading and parsing user's input, I made one common routine to be used. The mentioned files are: set_graph_function set_event set_ftrace_filter set_ftrace_notrace wbr, jirka Signed-off-by: Jiri Olsa --- kernel/trace/ftrace.c | 152 ++++++++++++------------------------------- kernel/trace/trace.c | 83 +++++++++++++++++++++++ kernel/trace/trace.h | 48 ++++++++++++++ kernel/trace/trace_events.c | 58 ++++------------- 4 files changed, 186 insertions(+), 155 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/