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

Yong Wang
2009-06-15T07:31:02Z

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?