commit | 0d75f123a6dcdacb3550b0c3c44a283f7259289e | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Tue Mar 06 11:13:17 2018 +0200 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Thu Apr 05 11:03:33 2018 -0300 |
tree | 74b59df541cf8fa7d1d84fd18f23363df62722e2 | |
parent | d1e7e602cd64cf61f87dbf30df07c24df9eb1d99 [diff] |
perf auxtrace: Make auxtrace_queues__add_buffer() allocate struct buffer In preparation for supporting AUX area sampling buffers, auxtrace_queues__add_buffer() needs to be more generic. To that end, move memory allocation for struct buffer into it. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1520327598-1317-7-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>