]> www.infradead.org Git - users/mchehab/edactool.git/log
users/mchehab/edactool.git
12 years agoedactool: add one thread per CPU master
Mauro Carvalho Chehab [Wed, 27 Feb 2013 08:01:42 +0000 (05:01 -0300)]
edactool: add one thread per CPU

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoedactool: fix parsing issues
Mauro Carvalho Chehab [Wed, 27 Feb 2013 07:31:34 +0000 (04:31 -0300)]
edactool: fix parsing issues

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoedactool: layers location is a signed 8bits integer
Mauro Carvalho Chehab [Wed, 27 Feb 2013 07:23:32 +0000 (04:23 -0300)]
edactool: layers location is a signed 8bits integer

Actually, the only negative value there is -1 (255). So, handle it
properly.

12 years agoedactool: Fix page_size logic
Mauro Carvalho Chehab [Wed, 27 Feb 2013 07:21:00 +0000 (04:21 -0300)]
edactool: Fix page_size logic

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoAdd missing trace_seq_init(&s)
Mauro Carvalho Chehab [Wed, 27 Feb 2013 00:54:46 +0000 (21:54 -0300)]
Add missing trace_seq_init(&s)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
12 years agoedactool: add its own parser for ras:mc_event
Mauro Carvalho Chehab [Tue, 26 Feb 2013 21:31:28 +0000 (18:31 -0300)]
edactool: add its own parser for ras:mc_event

The ras:mc_event is too complex for the built-in parser. Adds its
own parser for it, that will produce an output similar to the
in-kernel one.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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>