[Devel] Re: [PATCH 1/3] ftrace: graph of a single function
    Andrew Morton 
    akpm at linux-foundation.org
       
    Wed Dec  3 13:07:41 PST 2008
    
    
  
On Wed, 03 Dec 2008 15:36:57 -0500
Steven Rostedt <rostedt at goodmis.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;
> +}
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
    
    
More information about the Devel
mailing list