path: root/tools/perf/arch
diff options
authorAdrian Hunter <>2014-07-31 09:00:49 +0300
committerArnaldo Carvalho de Melo <>2014-09-17 17:08:08 -0300
commitdc0a6202421170a6d8d2c6f5176575b3f60e0f85 (patch)
tree42ff43dac280a0b92ef7af4f65148585836e0c8c /tools/perf/arch
parentc501e90b4700e4f247ccdcf5ae81f9846a2ef5f9 (diff)
perf tools: Let default config be defined for a PMU
This allows default config terms to be provided for a PMU. So, for example, when the Intel PT PMU is added, it will be possible to specify: intel_pt// which will be the same as: intel_pt/tsc=1,noretcomp=0/ meaning that the trace should contain TSC timestamps and perform 'return compression'. An important consideration of this patch is that it must be possible to overwrite the default values. That has meant changing the logic so that a zero value can replace a non-zero value. Signed-off-by: Adrian Hunter <> Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Jiri Olsa <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/arch')
0 files changed, 0 insertions, 0 deletions