Searched refs:metrics_kobj (Results 1 – 3 of 3) sorted by relevance
386 struct kobject *metrics_kobj; member
2879 if (!perf->metrics_kobj) { in i915_oa_stream_init()3862 perf->metrics_kobj = in i915_perf_register()3882 if (!perf->metrics_kobj) in i915_perf_unregister()3885 kobject_put(perf->metrics_kobj); in i915_perf_unregister()3886 perf->metrics_kobj = NULL; in i915_perf_unregister()4117 return sysfs_create_group(perf->metrics_kobj, in create_dynamic_oa_sysfs_entry()4149 if (!perf->metrics_kobj) { in i915_perf_add_config_ioctl()4335 sysfs_remove_group(perf->metrics_kobj, &oa_config->sysfs_metric); in i915_perf_remove_config_ioctl()
424 if (!perf->metrics_kobj || !perf->ops.enable_metric_set) in i915_perf_live_selftests()