diff options
author | Mathieu Poirier <[email protected]> | 2019-05-24 11:34:57 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-06-10 15:50:01 -0300 |
commit | 3470d48a4ef30c554934d4a188a97a53656bff57 (patch) | |
tree | 68edb69ae6e4829fd7e5f210c7c7cccbfd655b57 /tools/perf/scripts/python/compaction-times.py | |
parent | e0d170fa9a5c6dfc29fb8f900497d8c5ec29c6e7 (diff) |
perf cs-etm: Refactor error path in cs_etm_decoder__new()
There is no point in having two different error goto statement since the
openCSD API to free a decoder handles NULL pointers. As such function
cs_etm_decoder__free() can be called to deal with all aspect of freeing
decoder memory.
Signed-off-by: Mathieu Poirier <[email protected]>
Tested-by: Leo Yan <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Suzuki Poulouse <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions