Lines Matching defs:sysfs

55  * struct perf_pmu_alias - An event either read from sysfs or builtin in
94 * <sysfs>/bus/event_source/devices/<pmu_name>/events/<name>.per-pkg or
100 * <sysfs>/bus/event_source/devices/<pmu_name>/events/<name>.snapshot
115 /** @from_sysfs: Was the alias from sysfs or a json event? */
187 * Parse & process all the sysfs attributes located under
236 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes.
453 * Test if alias/event 'name' exists in the PMU's sysfs/events
454 * directory. If not skip parsing the sysfs aliases. Sysfs event
643 /* Update an event from sysfs with json data. */
652 * Override sysfs encodings with json encodings
700 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes.
806 * Uncore PMUs have a "cpumask" file under sysfs. CPU PMUs (e.g. on arm/arm64)
881 * sysfs on some platforms like ARM or Intel hybrid. Looking for
882 * possible the cpus file in sysfs files to identify whether this is a
1294 /* Creates the PMU when sysfs scanning fails. */
1477 /* sysfs exported terms */
1647 pr_info("Invalid sysfs entry %s=%s\n",
2049 * "cpu_core"). This approach checks if the sysfs directory for the PMU
2548 * /sys/bus/event_source/devices/<dev>/caps as sysfs group attributes.
2686 const char *sysfs = sysfs__mountpoint();
2688 if (!sysfs)
2690 return scnprintf(pathname, size, "%s/bus/event_source/devices/", sysfs);
2696 const char *sysfs = sysfs__mountpoint();
2698 if (!sysfs)
2701 scnprintf(path, sizeof(path), "%s/bus/event_source/devices/", sysfs);
2707 * sysfs. For example if pmu_name = "cs_etm" and 'filename' = "format"
2711 * Return 0 if the sysfs mountpoint couldn't be found, if no characters were