Merge "Revert "perf: Set the DSU PMU to be readable from any CPU""

This commit is contained in:
qctecmdr 2019-12-16 11:29:57 -08:00 • committed by Gerrit - the friendly Code Review server
commit 9adbc34dba
2 changed files with 2 additions and 3 deletions

View file

@ -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));
}
/**

View file

@ -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;
}