Re: [PATCH] Add minimal support for software performance countersfor ia64

From: Ingo Molnar
Date: Wed Aug 19 2009 - 12:12:51 EST



* William Cohen <wcohen@xxxxxxxxxx> wrote:

> The following patch adds minimal support for software
> performance counters for ia64.

Nice!

> 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

Tony, Fenghua Yu, this patch already depends on .32
changes in the perfcounters tree - would be OK to you if
we merged this patch into the perfcounters tree? Plus
perhaps merge a syscall placeholder patch into the ia64
tree?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/