mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "Revert "perf: Set the DSU PMU to be readable from any CPU""
This commit is contained in:
commit
9adbc34dba
2 changed files with 2 additions and 3 deletions
|
|
@ -1130,8 +1130,8 @@ void kgsl_device_snapshot_probe(struct kgsl_device *device, u32 size)
|
|||
&device->dev->kobj, "snapshot"))
|
||||
return;
|
||||
|
||||
sysfs_create_bin_file(&device->snapshot_kobj, &snapshot_attr);
|
||||
sysfs_create_files(&device->snapshot_kobj, snapshot_attrs);
|
||||
WARN_ON(sysfs_create_bin_file(&device->snapshot_kobj, &snapshot_attr));
|
||||
WARN_ON(sysfs_create_files(&device->snapshot_kobj, snapshot_attrs));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -582,7 +582,6 @@ static int dsu_pmu_event_init(struct perf_event *event)
|
|||
return -EINVAL;
|
||||
|
||||
event->hw.config_base = event->attr.config;
|
||||
event->readable_on_cpus = CPU_MASK_ALL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue