perf tools: Per-event time support
authorKan Liang <kan.liang@intel.com>
Tue, 4 Aug 2015 08:30:19 +0000 (04:30 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Aug 2015 15:50:52 +0000 (12:50 -0300)
commit320677123905fd1dd122895cd5fb870ee9e1380b
tree82b523328ec900684341656326ec6bf0a1e5e382
parent34221118cb13f8b37480bce7286a1b44e90773d8
perf tools: Per-event time support

This patchkit adds the ability to turn off time stamps per event.

One usaful case for partial time is to work with per-event callgraph to
enable "PEBS threshold > 1" (https://lkml.org/lkml/2015/5/10/196), which
can significantly reduce the sampling overhead.

The event samples with time stamps off will not be ordered.

Signed-off-by: Kan Liang <kan.liang@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1438677022-34296-2-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-record.txt
tools/perf/util/evsel.c
tools/perf/util/evsel.h
tools/perf/util/parse-events.c
tools/perf/util/parse-events.h
tools/perf/util/parse-events.l
tools/perf/util/pmu.c