]> git.baikalelectronics.ru Git - kernel.git/commit
perf/core: Add a flag for partial AUX records
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Mon, 20 Feb 2017 13:33:51 +0000 (15:33 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 16 Mar 2017 08:51:11 +0000 (09:51 +0100)
commit7bb209f2cb4ef3d6253a6994d129c703eff31e2d
tree60c78a267d0d42d35508f639dcd155aed8270a20
parent63eb8fba72f1eed1411252bf724a5cffbd3153fd
perf/core: Add a flag for partial AUX records

The Intel PT driver needs to be able to communicate partial AUX transactions,
that is, transactions with gaps in data for reasons other than no room
left in the buffer (i.e. truncated transactions). Therefore, this condition
does not imply a wakeup for the consumer.

To this end, add a new "partial" AUX flag.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: vince@deater.net
Link: http://lkml.kernel.org/r/20170220133352.17995-4-alexander.shishkin@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/uapi/linux/perf_event.h
kernel/events/ring_buffer.c