[PATCH v3 0/4] Fill in lacking parts and Refactor several parts

From: Taeung Song
Date: Wed Feb 01 2017 - 07:34:18 EST


v3:
- Split a patch in accordance with "no functional changes"
or "change logic" (Arnaldo)
- Change the title of commit message (Arnaldo)

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: Only increase index if perf_evsel__new_idx() succeeds
perf tools: Fill in a lacking part no checking NULL after zalloc() in
parse-events.c
perf tools: Use zfree() instead of free() and assigning NULL to the
pointer
perf tools: Use zfree() to be more safe in parse-events.c

tools/perf/util/parse-events.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)

--
2.7.4