[PATCH v2 0/4] Add ftrace config and refactor several parts
From: Taeung Song
Date: Tue Jan 31 2017 - 06:38:55 EST
Hi, :)
Lately I sent several patches.
But they need to be modified so I send v2 packing them.
v2:
- Check the return of perf_config() and
warn the user with config error message (Arnaldo)
- Change commit messages (Jiri)
- Add only one macro instead of two macros (Jiri)
Taeung Song (4):
perf tools: Create for_each_event macro for tracepoints iteration
perf ftrace: Add ftrace.tracer config option
perf tools: Check NULL after zalloc() and Use zfree() instead of
free() in parse-events.c
perf tools: Increase index if perf_evsel__new_idx() succeeded
tools/perf/builtin-ftrace.c | 25 +++++++++++++++++++++++++
tools/perf/util/parse-events.c | 23 ++++++++++++-----------
tools/perf/util/trace-event-info.c | 38 ++++++++++++++++++--------------------
3 files changed, 55 insertions(+), 31 deletions(-)
--
2.7.4