Lines Matching defs:sysfs

40  * struct perf_pmu_alias - An event either read from sysfs or builtin in
70 * <sysfs>/bus/event_source/devices/<pmu_name>/events/<name>.per-pkg or
76 * <sysfs>/bus/event_source/devices/<pmu_name>/events/<name>.snapshot
85 /** @from_sysfs: Was the alias from sysfs or a json event? */
93 * <sysfs>/devices/cpu/format/ held in struct perf_pmu.
95 * For example, the contents of <sysfs>/devices/cpu/format/event may be
182 * Parse & process all the sysfs attributes located under
233 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes.
556 /* Update an event from sysfs with json data. */
597 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes.
687 * Uncore PMUs have a "cpumask" file under sysfs. CPU PMUs (e.g. on arm/arm64)
747 * sysfs on some platforms like ARM or Intel hybrid. Looking for
748 * possible the cpus file in sysfs files to identify whether this is a
823 * @name: a real full PMU name as from sysfs.
1050 /* Creates the PMU when sysfs scanning fails. */
1244 /* sysfs exported terms */
1343 pr_info("Invalid sysfs entry %s=%s\n",
1893 * /sys/bus/event_source/devices/<dev>/caps as sysfs group attributes.
2027 const char *sysfs = sysfs__mountpoint();
2029 if (!sysfs)
2031 return scnprintf(pathname, size, "%s/bus/event_source/devices/", sysfs);
2037 const char *sysfs = sysfs__mountpoint();
2039 if (!sysfs)
2042 scnprintf(path, sizeof(path), "%s/bus/event_source/devices/", sysfs);
2048 * sysfs. For example if pmu_name = "cs_etm" and 'filename' = "format"
2052 * Return 0 if the sysfs mountpoint couldn't be found, if no characters were