diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2014-11-03 18:53:50 -0500 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-11-19 22:01:19 -0500 |
commit | 2448913ed2aa7a7424d9b9ca79861d13c746a3f1 (patch) | |
tree | 67d031584d72a54240e0497f6f37ef44ffcbff20 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 01cb06a4c229908d239149017049fdd1fca1dd51 (diff) |
seq-buf: Make seq_buf_bprintf() conditional on CONFIG_BINARY_PRINTF
The function bstr_printf() from lib/vsprnintf.c is only available if
CONFIG_BINARY_PRINTF is defined. This is due to the only user currently
being the tracing infrastructure, which needs to select this config
when tracing is configured. Until there is another user of the binary
printf formats, this will continue to be the case.
Since seq_buf.c is now lives in lib/ and is compiled even without
tracing, it must encompass its use of bstr_printf() which is used
by seq_buf_printf(). This too is only used by the tracing infrastructure
and is still encapsulated by the CONFIG_BINARY_PRINTF.
Link: http://lkml.kernel.org/r/[email protected]
Tested-by: Jiri Kosina <[email protected]>
Acked-by: Jiri Kosina <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions