perf: pad raw data samples automatically
authorAlexei Starovoitov <ast@plumgrid.com>
Wed, 21 Oct 2015 03:02:33 +0000 (20:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Oct 2015 13:42:13 +0000 (06:42 -0700)
commitfa128e6a148a0a58355bd6814c6283515bbd028a
tree015a7fb2d5aa4f31ed6cbd134e9628cce864053f
parent63b11e757d6dae570bc22450ec58a5b68cdf5c3c
perf: pad raw data samples automatically

Instead of WARN_ON in perf_event_output() on unpaded raw samples,
pad them automatically.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/events/core.c