[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090701115425.GJ15958@elte.hu>
Date: Wed, 1 Jul 2009 13:54:25 +0200
From: Ingo Molnar <mingo@...e.hu>
To: David Howells <dhowells@...hat.com>
Cc: Arnd Bergmann <arnd@...db.de>, torvalds@...l.org,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] FRV: Wire up new syscalls
* David Howells <dhowells@...hat.com> wrote:
> Ingo Molnar <mingo@...e.hu> wrote:
>
> > It would make sense to wire it up for real as it's really easy:
> > just set HAVE_PERF_COUNTERS in arch/frv/Kconfig, add an empty
> > arch/frv/include/asm/perf_counter.h file. (Optional: double
> > check that tools/perf/ builds and works fine on FRV ;-)
>
> Are these for hardware performance counters?
No. PMU support is not necessary in the first step, you'll still get
plenty of features from enabling perfcounters on FRV:
- hrtimer driven recording/profiling
- various software counters
- working perf top / perf stat / perf record / perf report
The tools will all work out of box and there's a transparent
fall-back path in the tools if the hardware counters are not
available.
It's much easier to add than basic Oprofile support, and you'll get
a lot more features in exchange as well ;)
[ There might be unanticipated problems of course - please report to
us any problems (tools/perf/ does not build cleanly, features dont
work as expected, etc.). ]
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists