mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
vsprintf: add binary printf
Impact: add new APIs for binary trace printk infrastructure vbin_printf(): write args to binary buffer, string is copied when "%s" is occurred. bstr_printf(): read from binary buffer for args and format a string [[email protected]: rebase] Signed-off-by: Lai Jiangshan <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Linus Torvalds <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
f036be96dd
commit
4370aa4aa7
3 changed files with 452 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
|||
# Library configuration
|
||||
#
|
||||
|
||||
config BINARY_PRINTF
|
||||
def_bool n
|
||||
|
||||
menu "Library routines"
|
||||
|
||||
config BITREVERSE
|
||||
|
|
|
|||
Loading…
Reference in a new issue