linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf mem record not getting the mem_load_aux events by default
@ 2024-09-04 14:30 Arnaldo Carvalho de Melo
  2024-09-04 15:20 ` Liang, Kan
  0 siblings, 1 reply; 4+ messages in thread
From: Arnaldo Carvalho de Melo @ 2024-09-04 14:30 UTC (permalink / raw)
  To: Kan Liang
  Cc: Ian Rogers, Namhyung Kim, Jiri Olsa, Adrian Hunter,
	linux-perf-users, Linux Kernel Mailing List

Hi Kan,

Recently I presented about 'perf mem record' and found that I had use
'perf record' directly as 'perf mem record' on a Intel Hybrid system
wasn't selecting the required aux event:

  http://vger.kernel.org/~acme/prez/lsfmm-bpf-2024/#/19

The previous slides show the problem and the one above shows what worked
for me.

I saw this while trying to fix that:

Author: Kan Liang <kan.liang@linux.intel.com>
commit abbdd79b786e036e60f01b7907977943ebe7a74d
Date:   Tue Jan 23 10:50:32 2024 -0800

    perf mem: Clean up perf_mem_events__name()
    
    Introduce a generic perf_mem_events__name(). Remove the ARCH-specific
    one.
    
    The mem_load events may have a different format. Add ldlat and aux_event
    in the struct perf_mem_event to indicate the format and the extra aux
    event.
    
    Add perf_mem_events_intel_aux[] to support the extra mem_load_aux event.
    
    Rename perf_mem_events__name to perf_pmu__mem_events_name.

--------------------------´

So there are provisions for selecting the right events, but it doesn't
seem to be working when I tried, can you take a look at what I describe
on those slides and see what am I doing wrong?

Thanks,

- Arnaldo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-05 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04 14:30 perf mem record not getting the mem_load_aux events by default Arnaldo Carvalho de Melo
2024-09-04 15:20 ` Liang, Kan
2024-09-04 15:34   ` Arnaldo Carvalho de Melo
2024-09-05 17:23     ` Liang, Kan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).