Re: [PATCH] perf record: Fixing record option data type in parse_branch_stack

From: Anshuman Khandual
Date: Fri May 25 2012 - 06:49:09 EST


On Friday 25 May 2012 02:14 PM, Stephane Eranian wrote:

> Hi,
>
> It should be something like that instead:
>
> diff --git a/tools/perf/perf.h b/tools/perf/perf.h
> index 8a9687e..c9ca7c4 100644
> --- a/tools/perf/perf.h
> +++ b/tools/perf/perf.h
> @@ -228,7 +228,7 @@ struct perf_record_opts {
> unsigned int freq;
> unsigned int mmap_pages;
> unsigned int user_freq;
> - int branch_stack;
> + u64 branch_stack;
> u64 default_interval;
> u64 user_interval;
> };
>



Agreed. I just tried to fix the problem where it was more evident because
of the data type mismatch.

--
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/