]> www.infradead.org Git - users/mchehab/edactool.git/log
users/mchehab/edactool.git
12 years agoedactool: don't complain if size is zero. Insted, just sleep for a while
Mauro Carvalho Chehab [Tue, 26 Feb 2013 17:53:00 +0000 (14:53 -0300)]
edactool: don't complain if size is zero. Insted, just sleep for a while

Polling time, if read() doesn't block. Currently, trace_pipe_raw never
blocks on read(). So, we need to sleep for a while, to avoid spending
too much CPU cycles. A fix for it is expected for 3.10.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoedactool: fix read logic
Mauro Carvalho Chehab [Tue, 26 Feb 2013 14:51:13 +0000 (11:51 -0300)]
edactool: fix read logic

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoedactool: Fix kbuf size
Mauro Carvalho Chehab [Tue, 26 Feb 2013 14:47:31 +0000 (11:47 -0300)]
edactool: Fix kbuf size

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agokbuffer-parse: print error if kbuffer_alloc fails
Mauro Carvalho Chehab [Tue, 26 Feb 2013 14:30:50 +0000 (11:30 -0300)]
kbuffer-parse: print error if kbuffer_alloc fails

if one of the size/endian verification tests fail, kbuffer_alloc fails,
but errno is not set. Add a print for those situations.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoGet the number of CPUs, according with the per_cpu tracing
Mauro Carvalho Chehab [Tue, 26 Feb 2013 12:35:10 +0000 (09:35 -0300)]
Get the number of CPUs, according with the per_cpu tracing

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoAdd logic to enable/disable RAS events
Mauro Carvalho Chehab [Tue, 26 Feb 2013 12:15:30 +0000 (09:15 -0300)]
Add logic to enable/disable RAS events

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoAdd the basic logic to handle raw events
Mauro Carvalho Chehab [Tue, 26 Feb 2013 10:26:09 +0000 (07:26 -0300)]
Add the basic logic to handle raw events

12 years agoAdd a basic mainfile skeleton for the edactool
Mauro Carvalho Chehab [Mon, 25 Feb 2013 19:11:49 +0000 (16:11 -0300)]
Add a basic mainfile skeleton for the edactool

For now, it does nothing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>