summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
AgeCommit message (Expand)Author
2017-08-15perf script python: Add support for exporting to sqlite3Adrian Hunter
ml' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3b051bb7cb4344d12b9b9b4974c77706462d4246'/> urn:sha1:3b051bb7cb4344d12b9b9b4974c77706462d4246 Although the event of the uncore PMU can only be opened on a single CPU, some PMU does have the affinity on a range of CPUs. For example the L3C PMU is associated to the CPUs sharing the L3T it monitors. Users may infer this affinity by the PMU name which may have SCCL ID and CCL ID encoded (for L3C etc), but it's not that straightforward. So export this information by adding an "associated_cpus" sysfs attribute then user can get this directly. Reviewed-by: Jonathan Cameron <Joanthan.Cameron@huawei.com> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Link: https://lore.kernel.org/r/20241210141525.37788-9-yangyicong@huawei.com Signed-off-by: Will Deacon <will@kernel.org> Documentation: hisi-pmu: Drop reference to /sys/devices path 2024-04-19T14:59:28Z Jonathan Cameron Jonathan.Cameron@huawei.com 2024-04-12T16:10:29Z urn:sha1:d0412b6ecb4e422dcb1754106c52e40946a95b61 Having assigned a parent to the device, the suggested path is no longer valid. As /sys/bus/event_sources based path is also provided, simply drop mention of alternative. Reviewed-by: Yicong Yang <yangyicong@hisilicon.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20240412161057.14099-3-Jonathan.Cameron@huawei.com Signed-off-by: Will Deacon <will@kernel.org>