Home
last modified time | relevance | path

Searched refs:event_str (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/tools/perf/tests/
Dexpand-cgroup.c120 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/
Ds390-sample-raw.c142 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/
Damdgpu_pmu.c42 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/
Dmlxreg-hotplug.c81 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/
Dlink.c84 const char *event_str = NULL; \
87 event_str = array[id]; \
88 event_str; \
/Linux-v6.6/arch/x86/events/
Dperf_event.h1016 .event_str = NULL, \
1023 .event_str = str, \
1038 .event_str = str, \
Dcore.c1834 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()
Drapl.c102 .event_str = str, \
/Linux-v6.6/include/linux/
Dperf_event.h1809 const char *event_str; member
1822 const char *event_str; member
1844 .event_str = _str, \
/Linux-v6.6/drivers/char/ipmi/
Dipmi_msghandler.c91 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/
Di915_pmu.c978 attr->event_str = str; in add_pmu_attr()
/Linux-v6.6/arch/powerpc/perf/
Dimc-pmu.c144 attr->event_str = str; in device_str_attr_create()
/Linux-v6.6/kernel/events/
Dcore.c13707 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/
Dcore.c6161 event_attr_td_total_slots_scale_glm.event_str = "4"; in intel_pmu_init()