aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTaeung Song <[email protected]>2017-04-07 23:24:19 +0900
committerArnaldo Carvalho de Melo <[email protected]>2017-04-11 08:45:10 -0300
commite21600fd41106f7a0ca124cec2404b2b3562768d (patch)
tree91f7b324b8f959e9fb7ade8dc54acd5bf0004fdf /tools/perf/scripts/python/export-to-postgresql.py
parentb07c40df1f4e6f937271921cb116d570bb9c4a31 (diff)
perf ui browser: Refactor the code to parse color configs with ltrim()
When parsing {fore, back} ground color configs, use ltrim() instead of just while loop and isspace(). Signed-off-by: Taeung Song <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions