aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-07-18 09:30:55 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-07-26 05:46:41 -0400
commitdd10be381c7749d27e4fe69041004c432e59b301 (patch)
tree16e27c3e2fec196d6869b7095e0bfa9d98b8af27 /tools/perf/scripts/python/call-graph-from-sql.py
parent86eaa804fc5282d3112b54503187ab651fff59fd (diff)
media: svg: avoid too long lines
Sending patches with SVG files via e-mail has a drawback: line size could be bigger than 998, with is the limit given by RFC 5322[1]. So, we need to enforce a lower limit, in order to allow those patches to be properly reviewed. [1] https://tools.ietf.org/html/rfc5322#section-2.1.1 So, use this small Perl script to limit columns size to ~900. use Text::Wrap; $Text::Wrap::columns = 900; $t.=$_ while (<>); print wrap("","",$t); Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions