Skip to contentSkip to conversation

meh, failure to git add

PATCH In review Daniel Vetter 2 participants 3 messages Oct 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meh, failure to git add

From: root <[email protected]>

---
 bin/set_debug_dmesg.c | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 bin/set_debug_dmesg.c
bin/set_debug_dmesg.c new file +8 -0
new file mode 100644
index 0000000..d61394a
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <sys/syslog.h>
+#include <sys/klog.h>
+
+int main()
+{
+	klogctl(8, NULL, 8);
+}
Signature · 1 line
1.7.11.4
#1 lore raw

I'm missing some context here... but why not just run 'sysctl kernel.printk=8' wherever this is needed?

BR,
Jani.

Quoted 28 lines · Daniel Vetter

From: root <[email protected]>

---
 bin/set_debug_dmesg.c | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 bin/set_debug_dmesg.c
bin/set_debug_dmesg.c new file +8 -0
new file mode 100644
index 0000000..d61394a
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <sys/syslog.h>
+#include <sys/klog.h>
+
+int main()
+{
+	klogctl(8, NULL, 8);
+}
Signature · 6 lines
1.7.11.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw
Quoted 2 lines · Jani Nikula

I'm missing some context here... but why not just run 'sysctl kernel.printk=8' wherever this is needed?

It leaked from my private dotfiles repo. The reason against a cmdline option is the need to walk over to the box ;-) This thing here is part of a little script to auto-setup netconsole.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch