According to Arnaldo's suggestion, patch 1/2 ensures options always there even if they are not build. When user tries to use a not build option, error or warning messages would tell them the reason.
Patch 2/2 adds vmlinux option to perf record to support BPF argument fetching better. Without this patch vmlinux must be reside in standard path for BPF loader finding it. He Kuang (1): perf record: Support custom vmlinux path Wang Nan (1): perf tools: Always give options even it not compiled tools/perf/Documentation/perf-record.txt | 10 ++- tools/perf/builtin-probe.c | 15 +++- tools/perf/builtin-record.c | 25 ++++++- tools/perf/util/parse-options.c | 113 ++++++++++++++++++++++++++++--- tools/perf/util/parse-options.h | 5 ++ 5 files changed, 153 insertions(+), 15 deletions(-) -- 1.8.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/