Searched refs:sysfs_name (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | mem-events.c | 20 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s } 103 static bool perf_mem_event__supported(const char *mnt, char *sysfs_name) in perf_mem_event__supported() argument 108 scnprintf(path, PATH_MAX, "%s/devices/%s", mnt, sysfs_name); in perf_mem_event__supported() 124 char sysfs_name[100]; in perf_mem_events__init() local 134 scnprintf(sysfs_name, sizeof(sysfs_name), in perf_mem_events__init() 135 e->sysfs_name, "cpu"); in perf_mem_events__init() 136 e->supported = perf_mem_event__supported(mnt, sysfs_name); in perf_mem_events__init() 139 scnprintf(sysfs_name, sizeof(sysfs_name), in perf_mem_events__init() 140 e->sysfs_name, pmu->name); in perf_mem_events__init() 141 e->supported |= perf_mem_event__supported(mnt, sysfs_name); in perf_mem_events__init() [all …]
|
D | mem-events.h | 19 const char *sysfs_name; member
|
/tools/perf/arch/arm64/util/ |
D | mem-events.c | 5 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s }
|
/tools/perf/arch/x86/util/ |
D | mem-events.c | 13 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s }
|