Discussion:
[uClinux-dev] Event tracing support on m68k
Ezequiel Garcia
2012-10-22 14:22:32 UTC
Permalink
Hi,

While trying to trace an m68k (without MMU) platform, I discovered
there's no "TRACING"
option on m68k menuconfig.

* Am I doing anything wrong? Is there no tracing support on m68k?

Now, I understand that function trace needs some kind of hardware support.
However, since trace events (like kmem events) look like some software trick,
I expected to get those architecture-wide.

* So, trace events also need hardware support? They aren't software-only stuff?

Any clarification will be most welcome!
Thanks!

Ezequiel
Andreas Schwab
2012-10-22 14:36:39 UTC
Permalink
Post by Ezequiel Garcia
While trying to trace an m68k (without MMU) platform, I discovered
there's no "TRACING"
option on m68k menuconfig.
* Am I doing anything wrong? Is there no tracing support on m68k?
Prerequisites
-------------

Ftrace relies on these features being implemented:
STACKTRACE_SUPPORT - implement save_stack_trace()
TRACE_IRQFLAGS_SUPPORT - implement include/asm/irqflags.h

Andreas.
--
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Ezequiel Garcia
2012-10-22 14:53:02 UTC
Permalink
Post by Andreas Schwab
Post by Ezequiel Garcia
While trying to trace an m68k (without MMU) platform, I discovered
there's no "TRACING"
option on m68k menuconfig.
* Am I doing anything wrong? Is there no tracing support on m68k?
Prerequisites
-------------
STACKTRACE_SUPPORT - implement save_stack_trace()
TRACE_IRQFLAGS_SUPPORT - implement include/asm/irqflags.h
Yeah, I read that too. Perhaps the real question should be:

Is it just not implemented on this platform or is there no way to implement it?
(and is it a wanted feature by the m68k users?)

But, I'm still confused on why this stuff is needed to get trace events.

Thanks!

Ezequiel
Andreas Schwab
2012-10-22 15:26:17 UTC
Permalink
Post by Ezequiel Garcia
Is it just not implemented on this platform or is there no way to implement it?
(and is it a wanted feature by the m68k users?)
Probably nobody has looked into it yet.

Andreas.
--
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Greg Ungerer
2012-10-23 01:24:48 UTC
Permalink
Post by Andreas Schwab
Post by Ezequiel Garcia
Is it just not implemented on this platform or is there no way to implement it?
(and is it a wanted feature by the m68k users?)
Probably nobody has looked into it yet.
That would be my guess.

Regards
Greg
--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg at snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
Continue reading on narkive:
Loading...