linux-m68k.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Event tracing support on m68k
@ 2012-10-22 14:22 Ezequiel Garcia
  2012-10-22 14:36 ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Ezequiel Garcia @ 2012-10-22 14:22 UTC (permalink / raw)
  To: Greg Ungerer, Geert Uytterhoeven, Steven Rostedt, Tim Bird,
	linux-m68k, uClinux development list

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

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

* Re: Event tracing support on m68k
  2012-10-22 14:22 Event tracing support on m68k Ezequiel Garcia
@ 2012-10-22 14:36 ` Andreas Schwab
  2012-10-22 14:53   ` Ezequiel Garcia
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2012-10-22 14:36 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: linux-m68k, uClinux development list, Steven Rostedt, Tim Bird

Ezequiel Garcia <elezegarcia@gmail.com> writes:

> 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?

>From Documentation/trace/ftrace-design.txt:

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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

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

* Re: Event tracing support on m68k
  2012-10-22 14:36 ` Andreas Schwab
@ 2012-10-22 14:53   ` Ezequiel Garcia
  2012-10-22 15:26     ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Ezequiel Garcia @ 2012-10-22 14:53 UTC (permalink / raw)
  To: Andreas Schwab
  Cc: linux-m68k, uClinux development list, Steven Rostedt, Tim Bird

On Mon, Oct 22, 2012 at 11:36 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Ezequiel Garcia <elezegarcia@gmail.com> writes:
>
>> 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?
>
> From Documentation/trace/ftrace-design.txt:
>
> Prerequisites
> -------------
>
> Ftrace relies on these features being implemented:
>  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
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

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

* Re: Event tracing support on m68k
  2012-10-22 14:53   ` Ezequiel Garcia
@ 2012-10-22 15:26     ` Andreas Schwab
  2012-10-23  1:24       ` Greg Ungerer
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2012-10-22 15:26 UTC (permalink / raw)
  To: Ezequiel Garcia
  Cc: Greg Ungerer, Geert Uytterhoeven, Steven Rostedt, Tim Bird,
	linux-m68k, uClinux development list

Ezequiel Garcia <elezegarcia@gmail.com> writes:

> 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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: Event tracing support on m68k
  2012-10-22 15:26     ` Andreas Schwab
@ 2012-10-23  1:24       ` Greg Ungerer
  0 siblings, 0 replies; 5+ messages in thread
From: Greg Ungerer @ 2012-10-23  1:24 UTC (permalink / raw)
  To: Andreas Schwab
  Cc: Ezequiel Garcia, Geert Uytterhoeven, Steven Rostedt, Tim Bird,
	linux-m68k, uClinux development list

On 23/10/12 01:26, Andreas Schwab wrote:
> Ezequiel Garcia <elezegarcia@gmail.com> writes:
>> 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@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

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 14:22 Event tracing support on m68k Ezequiel Garcia
2012-10-22 14:36 ` Andreas Schwab
2012-10-22 14:53   ` Ezequiel Garcia
2012-10-22 15:26     ` Andreas Schwab
2012-10-23  1:24       ` Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).