diff options
author | Stephen Hemminger <[email protected]> | 2010-02-22 15:17:09 -0800 |
---|---|---|
committer | Michal Marek <[email protected]> | 2010-03-07 21:19:09 +0100 |
commit | 1f2a144f5ab5e836b5ca8f67bd76b759fa947751 (patch) | |
tree | d7fdc51eed976f4fa005e6ebcf83538b8436900a /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | b59a12258460b3d019918719b1bd2563cf37ad9a (diff) |
scripts: improve checkstack
Cleanup checkstack script:
* Turn on strict checking
* Fix resulting error message because the declaration syntax
was incorrect.
* Remove incorrect and misleading use of prototype
- prototype not required for this type of sort function
because $a and $b are being used in this contex
- if prototype was being used it should be for both arguments
* Use closure for sort function
Signed-off-by: Stephen Hemminger <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Cong Wang <[email protected]>
Cc: Michal Marek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions