[PATCH RFC V7 2/7] perf tools: Force period term to overload global settings

2015-07-29 Thread Kan Liang
From: Jiri Olsa Currently the command line option settings beats the per event period settings: With no global settings, we get per-event configuration: $ perf record -e 'cpu/instructions,period=2/' sleep 1 $ perf evlist -v ... { sample_period, sample_freq }: 2 ... With 'c'

[PATCH RFC V7 2/7] perf tools: Force period term to overload global settings

2015-07-29 Thread Kan Liang
From: Jiri Olsa jo...@kernel.org Currently the command line option settings beats the per event period settings: With no global settings, we get per-event configuration: $ perf record -e 'cpu/instructions,period=2/' sleep 1 $ perf evlist -v ... { sample_period, sample_freq }: 2