Perf tool searches memory event name under the folder ` (8 subsequent siblings) 9 siblings, 0 replies 11+ messages in thread 9:48 ` perf mem: Introduce weak function perf_mem_events_ptr() Leo Yan 9:48 perf mem/c2c: Support AUX trace Leo 9:48 ` Leo Yan * perf mem: Search event name with more flexible path Tools/perf/Documentation/itrace.txt | 1 + Perf auxtrace: Add itrace option '-M' for memory events Perf mem: Only initialize memory event for recording Perf c2c: Support memory event PERF_MEM_EVENTS_LOAD_STORE Perf mem: Support new memory event PERF_MEM_EVENTS_LOAD_STORE Perf mem: Introduce weak function perf_mem_events_ptr() ![]() Perf mem: Search event name with more flexible path To event PERF_MEM_EVENTS_LOAD_STORE (James Clark). PERF_MEM_EVENTS_LOAD_STORE", so can convert the load/store requests * Added patch 04/09 "perf c2c: Support memory event PowerPC" due type 'ldst' is not added anymore (Ian) * Dropped the patch "perf mem: Return NULL for event 'ldst' on * Dropped type 'ldst' so don't change any usages for tools (Ian) * Added 'itrace_synth_opts' for memory event (Jiri) * Added back the patch 06/09 for introducing the itrace option '-M' # perf mem record -e spe-ldst - ~/false_sharing.exe 2 # perf mem record -e spe-store - ~/false_sharing.exe 2 # perf mem record -e spe-load - ~/false_sharing.exe 2 # perf c2c record -e spe-ldst - ~/false_sharing.exe 2 # perf c2c record -e spe-store - ~/false_sharing.exe 2 # perf c2c record -e spe-load - ~/false_sharing.exe 2 On Arm64, below commands have been tested: # perf mem record -e ldlat-stores - ~/false_sharing.exe 2 # perf mem record -e ldlat-loads - ~/false_sharing.exe 2 # perf mem record -t load,store - ~/false_sharing.exe 2 # perf mem record -t store - ~/false_sharing.exe 2 # perf mem record -t load - ~/false_sharing.exe 2 # perf mem record - ~/false_sharing.exe 2 # perf c2c record -e ldlat-stores - ~/false_sharing.exe 2 # perf c2c record -e ldlat-loads - ~/false_sharing.exe 2 # perf c2c record - ~/false_sharing.exe 2 This patch set has been verified on both x86 and Arm64. Latest commit 7b3bcedf5ee5 ("perf scripting python: Avoid declaringįunction pointers with a visibility attribute"). This patch set has been applied clearly on the perf/core branch with the So weĭon't need to do any change for tool's usage. It, otherwise, rolls back to enable both LOAD and STORE events. ![]() Types 'load' and 'store', if user passes the type 'load,store', the toolĬan automatically use PERF_MEM_EVENTS_LOAD_STORE event if arch supports This patch has dropped the memory type 'ldst' and keeps to use the old Tell AUX trace decoder that it is _ONLY_ interested in memory event Makes itrace memory event as default for perf mem/c2c, the tool will ![]() Since perf mem/c2c tools are focus on memory profiling, this patch set Introducing the itrace option '-M', this allows to synthenize memory This patch series is v4 for support perf mem/c2c AUX trace.Ĭomparing to patch set v3, this patch set adds back the patch 06/09 for James Clark, Wei Li, Andre Przywara, linux-kernel, John Garry, Will Deacon, Mathieu Poirier, Adrian Hunter,Īndi Kleen, Kemeng Shi, Sergey Senozhatsky, Al Grant, Ingo Molnar, Mark Rutland, Alexander Shishkin, Namhyung Kim, To: Arnaldo Carvalho de Melo, Jiri Olsa, Ian Rogers, Peter Zijlstra, ` (9 more replies) 0 siblings, 10 replies 11+ messages in thread 9:48 ` perf mem: Search event name with more flexible path Leo Yan Perf mem/c2c: Support AUX trace archive mirror help / color / mirror / Atom feed * perf mem/c2c: Support AUX trace 9:48 Leo Yan
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |