[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 25 Jul 2022 22:04:58 -0300
From: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To: Leo Yan <leo.yan@...aro.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>
CC: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Ian Rogers <irogers@...gle.com>,
Fangrui Song <maskray@...gle.com>,
Chang Rui <changruinj@...il.com>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] perf symbol: Correct address for bss symbols
On July 25, 2022 9:53:07 PM GMT-03:00, Leo Yan <leo.yan@...aro.org> wrote:
>Hi Arnaldo,
>
>On Mon, Jul 25, 2022 at 03:29:45PM -0300, Arnaldo Carvalho de Melo wrote:
>
>[...]
>
>> > First we used 'perf mem record' to run the test program and then used
>> > 'perf --debug verbose=4 mem report' to observe what's the symbol info
>> > for 'buf1' and 'buf2' structures.
>> >
>> > # ./perf mem record -e ldlat-loads,ldlat-stores -- false_sharing.exe 8
>>
>> Can you share the source code for your false sharing proggie? We need to
>> have something in 'perf test' exercising these routines :-)
>
>Sure, I am using the false sharing test case:
>https://github.com/joemario/perf-c2c-usage-files/blob/master/false_sharing_example.c
>
>... with build command:
>
>$ gcc -g false_sharing_example.c -pthread -lnuma -o false_sharing.exe
>
>Do want me to proceed for adding test case?
Yes, go ahead, that will be really nice of you to add it :)
- Arnaldo
> Otherwise, it's fine if
>you will work on the enabling test case :)
>
>Thanks,
>Leo
Powered by blists - more mailing lists