Re: [PATCH 10/12] perf script: Add support for PERF_SAMPLE_CODE_PAGE_SIZE

From: Liang, Kan
Date: Wed Jan 23 2019 - 09:40:54 EST




On 1/22/2019 12:11 PM, Andi Kleen wrote:
+ PERF_OUTPUT_CODE_PAGE_SIZE = 1UL << 32,

That won't work on 32bit. You need 1ULL

Also might want to audit that noone puts these flags into
an int.


I checked the codes, and there is no one puts the flags into an int.

I will use ULL in V2.

Thanks,
Kan