This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Add framework for tunables



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'?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]