diff options
author | 2012-04-09 11:54:31 +0900 | |
---|---|---|
committer | 2012-07-04 13:40:31 +0900 | |
commit | ca63858e9eb0ce495031c4ab5291874835cb43cf (patch) | |
tree | 71d27f1222dfc42f7d7063bb935d7b9c702bbb0b /tools/perf/scripts/python/syscall-counts.py | |
parent | tools lib traceevent: Introduce extend_token() (diff) | |
download | linux-dev-ca63858e9eb0ce495031c4ab5291874835cb43cf.tar.xz linux-dev-ca63858e9eb0ce495031c4ab5291874835cb43cf.zip |
tools lib traceevent: Handle strdup failure cases
There were some places didn't check return value of the strdup and had
unneeded/duplicated checks. Fix it.
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1333940074-19052-5-git-send-email-namhyung.kim@lge.com
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions