| /linux-6.15/tools/perf/tests/ |
| H A 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() 130 pr_debug("failed to parse event '%s', err %d\n", event_str, ret); in expand_group_events() 131 parse_events_error__print(&err, event_str); in expand_group_events() 148 const char event_str[] = "CYCLES"; in expand_libpfm_events() local 158 ret = parse_libpfm_events_option(&opt, event_str, 0); in expand_libpfm_events() 161 event_str, ret); in expand_libpfm_events()
|
| /linux-6.15/tools/perf/util/ |
| H A D | s390-sample-raw.c | 143 const char *event_str; in get_counter_name_callback() local 148 event_str = strstr(info->str, "event="); in get_counter_name_callback() 149 if (!event_str) in get_counter_name_callback() 152 rc = sscanf(event_str, "event=%x", &event_nr); in get_counter_name_callback()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A 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-6.15/drivers/platform/mellanox/ |
| H A 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-6.15/tools/bpf/bpftool/ |
| H A D | link.c | 84 const char *event_str = NULL; \ 87 event_str = array[id]; \ 88 event_str; \
|
| /linux-6.15/include/linux/ |
| H A D | perf_event.h | 1942 const char *event_str; member 1955 const char *event_str; member 1977 .event_str = _str, \
|
| /linux-6.15/arch/x86/events/ |
| H A D | perf_event.h | 1060 .event_str = NULL, \ 1067 .event_str = str, \ 1082 .event_str = str, \
|
| H A D | core.c | 1849 if (pmu_attr->event_str) in events_sysfs_show() 1850 return sprintf(page, "%s\n", pmu_attr->event_str); in events_sysfs_show() 1890 return sprintf(page, "%s", pmu_attr->event_str); in events_hybrid_sysfs_show() 1903 str = pmu_attr->event_str; in events_hybrid_sysfs_show() 1963 return pmu_attr->event_str || x86_pmu.event_map(idx) ? attr->mode : 0; in is_visible()
|
| H A D | rapl.c | 113 .event_str = str, \
|
| /linux-6.15/drivers/char/ipmi/ |
| H A 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-6.15/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | arm-smmu-v3.c | 87 static const char * const event_str[] = { variable 1894 #define ARM_SMMU_EVT_KNOWN(e) ((e)->id < ARRAY_SIZE(event_str) && event_str[(e)->id]) 1895 #define ARM_SMMU_LOG_EVT_STR(e) ARM_SMMU_EVT_KNOWN(e) ? event_str[(e)->id] : "UNKNOWN"
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_pmu.c | 973 attr->event_str = str; in add_pmu_attr()
|
| /linux-6.15/arch/powerpc/perf/ |
| H A D | imc-pmu.c | 144 attr->event_str = str; in device_str_attr_create()
|
| /linux-6.15/drivers/powercap/ |
| H A D | intel_rapl_common.c | 1920 .event_str = str, \
|
| /linux-6.15/kernel/events/ |
| H A D | core.c | 14515 if (pmu_attr->event_str) in perf_event_sysfs_show() 14516 return sprintf(page, "%s\n", pmu_attr->event_str); in perf_event_sysfs_show()
|
| /linux-6.15/arch/x86/events/intel/ |
| H A D | core.c | 6826 event_attr_td_total_slots_scale_glm.event_str = "4"; in intel_pmu_init()
|