public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: Frederic Weisbecker <fweisbec@gmail.com>,
	LKML <linux-kernel@vger.kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@elte.hu>
Subject: Revert "irq: Add tracepoint to softirq_raise" - microblaze build
Date: Wed, 09 Mar 2011 13:20:31 +0100	[thread overview]
Message-ID: <4D77708F.1000800@monstr.eu> (raw)

Hi Frederic,

I have compiled ftrace support for Microblaze and I have reached a compilation failure.

I bisected it and I found that
"irq: Add tracepoint to softirq_raise"
(sha1:2bf2160d8805de64308e2e7c3cd97813cb58ed2f)
caused it.

I also found one thread which could be related.
http://kerneltrap.org/mailarchive/linux-kernel/2010/9/8/4616941

It is likely any missing header or so.

Do you know what can be wrong?

Thanks,
Michal


[ALL  ]   CC      kernel/trace/power-traces.o
[ALL  ] In file included from 
/mnt/projects/petalinux-v1.00-devel/software/linux-2.6.x/arch/microblaze/include/asm/irq.h:15,
[ALL  ]                  from include/linux/irq.h:27,
[ALL  ]                  from include/asm-generic/hardirq.h:12,
[ALL  ]                  from 
/mnt/projects/petalinux-v1.00-devel/software/linux-2.6.x/arch/microblaze/include/asm/hardirq.h:15,
[ALL  ]                  from include/linux/hardirq.h:7,
[ALL  ]                  from include/linux/ftrace_event.h:7,
[ALL  ]                  from include/trace/ftrace.h:19,
[ALL  ]                  from include/trace/define_trace.h:96,
[ALL  ]                  from include/trace/events/power.h:240,
[ALL  ]                  from kernel/trace/power-traces.c:14:
[ALL  ] include/linux/interrupt.h: In function '__raise_softirq_irqoff':
[ERROR] include/linux/interrupt.h:413: error: implicit declaration of function 'trace_softirq_raise'
[ALL  ] In file included from include/trace/ftrace.h:554,
[ALL  ]                  from include/trace/define_trace.h:96,
[ALL  ]                  from include/trace/events/power.h:240,
[ALL  ]                  from kernel/trace/power-traces.c:14:
[ALL  ] include/trace/events/irq.h: In function 'ftrace_test_probe_irq_handler_entry':
[ERROR] include/trace/events/irq.h:37: error: implicit declaration of function 
'check_trace_callback_type_irq_handler_entry'
[ALL  ] include/trace/events/irq.h: In function 'ftrace_test_probe_irq_handler_exit':
[ERROR] include/trace/events/irq.h:67: error: implicit declaration of function 
'check_trace_callback_type_irq_handler_exit'
[ALL  ] include/trace/events/irq.h: In function 'ftrace_test_probe_softirq_entry':
[ERROR] include/trace/events/irq.h:112: error: implicit declaration of function 
'check_trace_callback_type_softirq_entry'
[ALL  ] include/trace/events/irq.h: In function 'ftrace_test_probe_softirq_exit':
[ERROR] include/trace/events/irq.h:126: error: implicit declaration of function 
'check_trace_callback_type_softirq_exit'
[ALL  ] include/trace/events/irq.h: In function 'ftrace_test_probe_softirq_raise':
[ERROR] include/trace/events/irq.h:140: error: implicit declaration of function 
'check_trace_callback_type_softirq_raise'
[ERROR] make[5]: *** [kernel/trace/power-traces.o] Error 1
[ERROR] make[4]: *** [kernel/trace] Error 2
[ERROR] make[3]: *** [kernel] Error 2


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

             reply	other threads:[~2011-03-09 12:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 12:20 Michal Simek [this message]
2011-03-09 16:46 ` Revert "irq: Add tracepoint to softirq_raise" - microblaze build Steven Rostedt
2011-03-09 17:01   ` Michal Simek
2011-03-09 17:12     ` Steven Rostedt
2011-03-09 17:36       ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D77708F.1000800@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox