Revert "staging: Remove the Android logger driver"
[firefly-linux-kernel-4.4.55.git] / drivers / staging / android / Kconfig
index 3710cabd25f8aca948a18f91717b239131fbe728..a817875bbf850bb2044b40f302ac6cf5ae9007f0 100644 (file)
@@ -20,6 +20,23 @@ config ASHMEM
          It is, in theory, a good memory allocator for low-memory devices,
          because it can discard shared memory units when under memory pressure.
 
+config ANDROID_LOGGER
+       tristate "Android log driver"
+       default n
+       ---help---
+         This adds support for system-wide logging using four log buffers.
+
+         These are:
+
+             1: main
+             2: events
+             3: radio
+             4: system
+
+         Log reading and writing is performed via normal Linux reads and
+         optimized writes. This optimization avoids logging having too
+         much overhead in the system.
+
 config ANDROID_TIMED_OUTPUT
        bool "Timed output class driver"
        default y