Re: [PATCH v2] perf: fix compilation failure on i386

2020-05-07 Thread Cao jin
BTW, this is reported by kernel test robot , so please help to add: Reported-by: kernel test robot when it got merged. -- Sincerely, Cao jin On 5/1/20 4:25 PM, Cao jin wrote: > Compilation on i386 complains as following: > > util/session.c: In function

Re: [PATCH v2] perf: fix compilation failure on i386

2020-05-01 Thread Jiri Olsa
On Fri, May 01, 2020 at 04:25:37PM +0800, Cao jin wrote: > Compilation on i386 complains as following: > > util/session.c: In function 'perf_session__process_compressed_event': > util/session.c:91:11: error: format '%ld' expects argument of type 'long > int', but argument 4 has type 'size_t {aka

[PATCH v2] perf: fix compilation failure on i386

2020-05-01 Thread Cao jin
Compilation on i386 complains as following: util/session.c: In function 'perf_session__process_compressed_event': util/session.c:91:11: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Werror=format=] pr_debug("decomp (B): %ld to