Re: [PATCH 11/13] perf tests: Allow reuse of test_file function

From: David Ahern
Date: Tue Jun 03 2014 - 14:41:54 EST


On 6/3/14, 9:35 AM, Jiri Olsa wrote:

+ static char buf_templ[sizeof(TEMPL)];

why static? and ...

I need to use it outside the test_file function

Oh, it's a return variable.

David

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/