[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A8C2290.3040707@redhat.com>
Date: Wed, 19 Aug 2009 12:04:32 -0400
From: William Cohen <wcohen@...hat.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>, Ingo Molnar <mingo@...e.hu>
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] Add minimal support for software performance counters for
ia64
The following patch adds minimal support for software performance counters for ia64.
For the kernel the patch enables configuration of the perf counter
option, adds the perf_counter_open syscall, and includes a minimal machine
specific asm/perf.h header file.
For the perf tool the header perf.h includes an ia64 specific section
and the options used in the Makefile were adjusted to allow
compilation on ia64. The -Wcast-align gives "cast increases required
alignment of target type" warning for the list_for_each_entry()
macro. The "-fno-strict-aliasing" was used to avoid warnings for
"dereferencing type-punned pointer will break strict-aliasing rules"
warnings for sscanf() functions in util/trace-event-parse.c
-Will
Signed-off-by: William Cohen <wcohen@...hat.com>
View attachment "perf_ia64a.patch" of type "text/plain" (3999 bytes)
Powered by blists - more mailing lists