aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAntonio Borneo <[email protected]>2020-04-06 20:11:07 -0700
committerLinus Torvalds <[email protected]>2020-04-07 10:43:43 -0700
commit713a09de9ca9ac6277cb43d79967e7852238f998 (patch)
tree20e55655e36e882fb61f37cdb24f771b1948e23f /tools/perf/scripts/python/exported-sql-viewer.py
parent7b18496cbc9af07f5dfbb1ce56ea839344061b54 (diff)
checkpatch: add command-line option for TAB size
Linux kernel coding style requires a size of 8 characters for both TAB and indentation, and such value is embedded as magic value allover the checkpatch script. This makes hard to reuse the script by other projects with different requirements in their coding style (e.g. OpenOCD [1] requires TAB size of 4 characters [2]). Replace the magic value 8 with a variable. Add a command-line option "--tab-size" to let the user select a TAB size value other than 8. [1] http://openocd.org/ [2] http://openocd.org/doc/doxygen/html/stylec.html#styleformat Signed-off-by: Antonio Borneo <[email protected]> Signed-off-by: Erik AhlĂ©n <[email protected]> Signed-off-by: Spencer Oliver <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Joe Perches <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions