Skip to content
Commit 9985c20f authored by Lin Ming's avatar Lin Ming Committed by Ingo Molnar
Browse files

perf: Remove perf_event_attr::type check



PMU type id can be allocated dynamically, so perf_event_attr::type check
when copying attribute from userspace to kernel is not valid.

Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Cc: Robert Richter <robert.richter@amd.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1309421396-17438-4-git-send-email-ming.m.lin@intel.com


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f53173e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment