[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081203130741.473c1262.akpm@linux-foundation.org>
Date: Wed, 3 Dec 2008 13:07:41 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, mingo@...e.hu, fweisbec@...il.com,
peterz@...radead.org, arjan@...radead.org, dave@...ux.vnet.ibm.com,
containers@...ts.osdl.org, ebiederm@...ssion.com,
sukadev@...ux.vnet.ibm.com, serue@...ibm.com, srostedt@...hat.com
Subject: Re: [PATCH 1/3] ftrace: graph of a single function
On Wed, 03 Dec 2008 15:36:57 -0500
Steven Rostedt <rostedt@...dmis.org> wrote:
> +static int g_show(struct seq_file *m, void *v)
> +{
> + unsigned long *ptr = v;
> + char str[KSYM_SYMBOL_LEN];
> +
> + if (!ptr)
> + return 0;
> +
> + kallsyms_lookup(*ptr, NULL, NULL, NULL, str);
> +
> + seq_printf(m, "%s\n", str);
Can we use %pF here?
> + return 0;
> +}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists