aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorRabin Vincent <[email protected]>2010-10-26 14:23:16 -0700
committerLinus Torvalds <[email protected]>2010-10-26 16:52:20 -0700
commit3bf9a009fccea422bc355414a3bdf5f35fff9f36 (patch)
tree18a47ff24bae81950fae0e8b550835723da17cd1 /tools/perf/util/trace-event-scripting.c
parent9fe287d79b0af983050d24e7916cf3d1f019f553 (diff)
checkpatch: check for incorrect permissions
Throw an error when a source file has been given execute permissions using the mode change line present in git diffs. Also alow the filename matching to use the "diff" line in addition to the "+++" line, since the mode change lines appear before any "+++" lines. [[email protected]: simplified filename logic slightly, added tests] Cc: Andy Whitcroft <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Rabin Vincent <[email protected]> Signed-off-by: Andy Whitcroft <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions