diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2019-01-09 11:18:31 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-06 10:00:40 -0300 |
commit | e7a3a055f2b88ebd0bdae8b0aade1e7d80c8a81e (patch) | |
tree | 82c42aa714923ee6a2faf67b0451c0347cd8cb81 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d6d457451eb94fa747dc202765592eb8885a7352 (diff) | |
download | lwn-e7a3a055f2b88ebd0bdae8b0aade1e7d80c8a81e.tar.gz lwn-e7a3a055f2b88ebd0bdae8b0aade1e7d80c8a81e.zip |
perf thread-stack: Tidy thread_stack__push_cp() usage
If 'cp' is checked in thread_stack__push_cp() a number of error checks
can be removed, reducing code size and improving readability.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190109091835.5570-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions