/Linux-v6.6/tools/perf/tests/ |
D | expand-cgroup.c | 120 const char event_str[] = "{cycles,instructions}"; in expand_group_events() local 128 ret = parse_events(evlist, event_str, &err); in expand_group_events() 131 event_str, ret, err.str); in expand_group_events() 132 parse_events_error__print(&err, event_str); in expand_group_events() 149 const char event_str[] = "CYCLES"; in expand_libpfm_events() local 159 ret = parse_libpfm_events_option(&opt, event_str, 0); in expand_libpfm_events() 162 event_str, ret); in expand_libpfm_events()
|
/Linux-v6.6/tools/perf/util/ |
D | s390-sample-raw.c | 142 const char *event_str; in get_counter_name_callback() local 147 event_str = strstr(info->str, "event="); in get_counter_name_callback() 148 if (!event_str) in get_counter_name_callback() 151 rc = sscanf(event_str, "event=%x", &event_nr); in get_counter_name_callback()
|
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pmu.c | 42 const char *event_str; member 69 return sprintf(buf, "%s\n", amdgpu_pmu_attr->event_str); in amdgpu_pmu_event_show() 72 amdgpu_pmu_attr->event_str, amdgpu_pmu_attr->type); in amdgpu_pmu_event_show() 426 pmu_attr->event_str = events[i].config; in amdgpu_pmu_create_event_attrs_by_type()
|
/Linux-v6.6/drivers/platform/mellanox/ |
D | mlxreg-hotplug.c | 81 char event_str[MLXREG_CORE_LABEL_MAX_SIZE + 2]; in mlxreg_hotplug_udev_event_send() local 84 mlxreg_hotplug_udev_envp[0] = event_str; in mlxreg_hotplug_udev_event_send() 86 snprintf(event_str, MLXREG_CORE_LABEL_MAX_SIZE, "%s=%d", label, !!action); in mlxreg_hotplug_udev_event_send()
|
/Linux-v6.6/tools/bpf/bpftool/ |
D | link.c | 84 const char *event_str = NULL; \ 87 event_str = array[id]; \ 88 event_str; \
|
/Linux-v6.6/arch/x86/events/ |
D | perf_event.h | 1016 .event_str = NULL, \ 1023 .event_str = str, \ 1038 .event_str = str, \
|
D | core.c | 1834 if (pmu_attr->event_str) in events_sysfs_show() 1835 return sprintf(page, "%s\n", pmu_attr->event_str); in events_sysfs_show() 1875 return sprintf(page, "%s", pmu_attr->event_str); in events_hybrid_sysfs_show() 1888 str = pmu_attr->event_str; in events_hybrid_sysfs_show() 1948 return pmu_attr->event_str || x86_pmu.event_map(idx) ? attr->mode : 0; in is_visible()
|
D | rapl.c | 102 .event_str = str, \
|
/Linux-v6.6/include/linux/ |
D | perf_event.h | 1809 const char *event_str; member 1822 const char *event_str; member 1844 .event_str = _str, \
|
/Linux-v6.6/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 91 const char *event_str; in panic_op_read_handler() local 94 event_str = "???"; in panic_op_read_handler() 96 event_str = ipmi_panic_event_str[ipmi_send_panic_event]; in panic_op_read_handler() 98 return sprintf(buffer, "%s\n", event_str); in panic_op_read_handler()
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_pmu.c | 978 attr->event_str = str; in add_pmu_attr()
|
/Linux-v6.6/arch/powerpc/perf/ |
D | imc-pmu.c | 144 attr->event_str = str; in device_str_attr_create()
|
/Linux-v6.6/kernel/events/ |
D | core.c | 13707 if (pmu_attr->event_str) in perf_event_sysfs_show() 13708 return sprintf(page, "%s\n", pmu_attr->event_str); in perf_event_sysfs_show()
|
/Linux-v6.6/arch/x86/events/intel/ |
D | core.c | 6161 event_attr_td_total_slots_scale_glm.event_str = "4"; in intel_pmu_init()
|