aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2020-11-06 17:48:46 +0800
committerArnaldo Carvalho de Melo <[email protected]>2020-11-11 10:29:12 -0300
commiteaf6aaeec5fa301c0eb8ae92962909b15d075e5f (patch)
tree7eaf70180284fc30b5b72ec594722c51c6face8c /tools/perf/scripts/python/export-to-postgresql.py
parentf9f16dfbe76e63ba9aec68055c08242b09be297e (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