Re: [tip:perfcounters/core] perf record/report: Add call graph /call chain profiling

From: Yong Wang
Date: Mon Jun 15 2009 - 03:31:06 EST


On Sun, Jun 14, 2009 at 06:36:32PM +0000, tip-bot for Ingo Molnar wrote:
> +struct ip_chain_event {
> + __u16 nr;
> + __u16 hv;
> + __u16 kernel;
> + __u16 user;
> + __u64 ips[];
> +};
> +

The following error on my 32bit box:

cc1: warnings being treated as errors
builtin-report.c: In function 'process_overflow_event':
builtin-report.c:984: error: cast to pointer from integer of different
size
make: *** [builtin-report.o] Error 1

unsigned long ips[] perhaps?
--
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/