perf evsel: Add comment for 'idx' member in 'struct perf_sample_id
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 12 Aug 2019 09:09:35 +0000 (12:09 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Aug 2019 15:17:45 +0000 (12:17 -0300)
commit3c84e65a533dbaa1a29bfd847deca73704b675eb
treefeb43acb32e8cdd53b5737c0d9b79fc7b04a0d26
parent0ac10d87a571ae7d68c7f70f1c2229388f1dce9e
perf evsel: Add comment for 'idx' member in 'struct perf_sample_id

The 'idx' member was added as preparation for AUX area sampling. Add a
comment to describe why.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/83ff264f-84c3-5372-8976-dd9293d20c6f@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.h