Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752973AbZI1QtB (ORCPT ); Mon, 28 Sep 2009 12:49:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752759AbZI1QtA (ORCPT ); Mon, 28 Sep 2009 12:49:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16793 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752550AbZI1QtA (ORCPT ); Mon, 28 Sep 2009 12:49:00 -0400 Message-ID: <4AC0E9C4.50601@redhat.com> Date: Mon, 28 Sep 2009 12:52:20 -0400 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Li Zefan CC: Frederic Weisbecker , Steven Rostedt , Ingo Molnar , lkml , systemtap-ml , DLE , Thomas Gleixner , Arnaldo Carvalho de Melo , Mike Galbraith , Paul Mackerras , Peter Zijlstra , Christoph Hellwig , Ananth N Mavinakayanahalli , Jim Keniston , "Frank Ch. Eigler" Subject: Re: [RFC PATCH tracing/kprobes 2/5] tracing/kprobes: Avoid field name confliction References: <20090925191424.12939.91503.stgit@omoto> <20090925191505.12939.69682.stgit@omoto> <4AC01D6D.9070008@cn.fujitsu.com> In-Reply-To: <4AC01D6D.9070008@cn.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1006 Lines: 43 Li Zefan wrote: >> +/* Reserved field names */ >> +#define FIELD_STRING_IP "ip" >> +#define FIELD_STRING_NARGS "nargs" >> +#define FIELD_STRING_RETIP "ret_ip" >> +#define FIELD_STRING_FUNC "func" >> + >> +const char *reserved_field_names[] = { >> + "common_type", >> + "common_flags", >> + "common_preempt_count", >> + "common_pid", >> + "common_tgid", > > There is a new common field "common_lock_depth" Thanks, I'll add it. Perhaps, I might need to have more generic check. (check in define_field?) Thank you! > >> + FIELD_STRING_IP, >> + FIELD_STRING_NARGS, >> + FIELD_STRING_RETIP, >> + FIELD_STRING_FUNC, >> +}; -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- 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/