All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meh, failure to git add
@ 2012-10-26  8:51 Daniel Vetter
  2012-10-26 18:14 ` Jani Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vetter @ 2012-10-26  8:51 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: root

From: root <daniel.vetter@ffwll.ch>

---
 bin/set_debug_dmesg.c | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 bin/set_debug_dmesg.c

diff --git a/bin/set_debug_dmesg.c b/bin/set_debug_dmesg.c
new file mode 100644
index 0000000..d61394a
--- /dev/null
+++ b/bin/set_debug_dmesg.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include <sys/syslog.h>
+#include <sys/klog.h>
+
+int main()
+{
+	klogctl(8, NULL, 8);
+}
-- 
1.7.11.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] meh, failure to git add
  2012-10-26  8:51 [PATCH] meh, failure to git add Daniel Vetter
@ 2012-10-26 18:14 ` Jani Nikula
  2012-10-26 18:23   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2012-10-26 18:14 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: root


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

BR,
Jani.


On Fri, 26 Oct 2012, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> From: root <daniel.vetter@ffwll.ch>
>
> ---
>  bin/set_debug_dmesg.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 bin/set_debug_dmesg.c
>
> diff --git a/bin/set_debug_dmesg.c b/bin/set_debug_dmesg.c
> new file mode 100644
> index 0000000..d61394a
> --- /dev/null
> +++ b/bin/set_debug_dmesg.c
> @@ -0,0 +1,8 @@
> +#include <stdio.h>
> +#include <sys/syslog.h>
> +#include <sys/klog.h>
> +
> +int main()
> +{
> +	klogctl(8, NULL, 8);
> +}
> -- 
> 1.7.11.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] meh, failure to git add
  2012-10-26 18:14 ` Jani Nikula
@ 2012-10-26 18:23   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2012-10-26 18:23 UTC (permalink / raw)
  To: Jani Nikula; +Cc: Intel Graphics Development

On Fri, Oct 26, 2012 at 8:14 PM, Jani Nikula
<jani.nikula@linux.intel.com> wrote:
> 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
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-26 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26  8:51 [PATCH] meh, failure to git add Daniel Vetter
2012-10-26 18:14 ` Jani Nikula
2012-10-26 18:23   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.