mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
The mem_info struct goes to mem-events.h and branch_info goes to branch.h, where they belong, this way we can remove several headers from symbols.h and trim the include dependency tree more. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
13 lines
280 B
C
13 lines
280 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include "map_symbol.h"
|
|
#include "mem-events.h"
|
|
|
|
/* PowerPC does not support 'ldlat' parameter. */
|
|
char *perf_mem_events__name(int i)
|
|
{
|
|
if (i == PERF_MEM_EVENTS__LOAD)
|
|
return (char *) "cpu/mem-loads/";
|
|
|
|
return (char *) "cpu/mem-stores/";
|
|
}
|