This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Add framework for tunables
- From: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- To: Siddhesh Poyarekar <sid at reserved-bit dot com>, libc-alpha at sourceware dot org
- Cc: roland at hack dot frob dot com, carlos at redhat dot com, Andi Kleen <andi at firstfloor dot org>
- Date: Mon, 11 Jan 2016 10:39:32 -0600
- Subject: Re: [PATCH 1/2] Add framework for tunables
- Authentication-results: sourceware.org; auth=none
- References: <20160111111649 dot GA4157 at devel dot intra dot reserved-bit dot com>
On 01/11/2016 05:16 AM, Siddhesh Poyarekar wrote:
> diff --git a/scripts/gen-tunables.awk b/scripts/gen-tunables.awk
...
> + print "} tunable_id_t;\n"
> + print "#ifdef TUNABLES_INTERNAL"
> + print "static tunable_t tunable_list[] = {"
> + for (t in val) {
> + for (n in val[t]) {
> + for (c in val[t][n]) {
> + printf (" {TUNABLE_NAME_S(%s, %s, %s), NULL, NULL, false},\n",
> + t, n, val[t][n][c], t, n, val[t][n][c]);
> + }
> + }
> + }
> + print "};"
> + printf "#endif"
I'm guessing this should be 'print' not 'printf'?