Lines Matching defs:sysfs
39 * struct perf_pmu_alias - An event either read from sysfs or builtin in
69 * <sysfs>/bus/event_source/devices/<pmu_name>/events/<name>.per-pkg or
75 * <sysfs>/bus/event_source/devices/<pmu_name>/events/<name>.snapshot
84 /** @from_sysfs: Was the alias from sysfs or a json event? */
92 * <sysfs>/devices/cpu/format/ held in struct perf_pmu.
94 * For example, the contents of <sysfs>/devices/cpu/format/event may be
181 * Parse & process all the sysfs attributes located under
232 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes.
555 /* Update an event from sysfs with json data. */
596 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes.
684 * Uncore PMUs have a "cpumask" file under sysfs. CPU PMUs (e.g. on arm/arm64)
744 * sysfs on some platforms like ARM or Intel hybrid. Looking for
745 * possible the cpus file in sysfs files to identify whether this is a
825 * @name: a real full PMU name as from sysfs.
1026 /* Creates the PMU when sysfs scanning fails. */
1220 /* sysfs exported terms */
1319 pr_info("Invalid sysfs entry %s=%s\n",
1865 * /sys/bus/event_source/devices/<dev>/caps as sysfs group attributes.
1999 const char *sysfs = sysfs__mountpoint();
2001 if (!sysfs)
2003 return scnprintf(pathname, size, "%s/bus/event_source/devices/", sysfs);
2009 const char *sysfs = sysfs__mountpoint();
2011 if (!sysfs)
2014 scnprintf(path, sizeof(path), "%s/bus/event_source/devices/", sysfs);
2020 * sysfs. For example if pmu_name = "cs_etm" and 'filename' = "format"
2024 * Return 0 if the sysfs mountpoint couldn't be found, if no characters were