diff options
| author | Leo Yan <[email protected]> | 2020-11-06 17:48:46 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-11-11 10:29:12 -0300 |
| commit | eaf6aaeec5fa301c0eb8ae92962909b15d075e5f (patch) | |
| tree | 7eaf70180284fc30b5b72ec594722c51c6face8c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f9f16dfbe76e63ba9aec68055c08242b09be297e (diff) | |
perf mem: Introduce weak function perf_mem_events__ptr()
Different architectures might use different event or different event
parameters for memory profiling, this patch introduces a weak
perf_mem_events__ptr() function which allows to return back a
architecture specific memory event.
Since the variable 'perf_mem_events' can be only accessed by the
perf_mem_events__ptr() function, mark the variable as 'static', this
allows the architectures to define its own memory event array.
Signed-off-by: Leo Yan <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions