diff options
| author | Alexander Kapshuk <alexander.kapshuk@gmail.com> | 2015-10-12 21:39:42 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 21:55:26 -0700 |
| commit | 1d60b873aecc6fce4893b76500c30374f8c9e394 (patch) | |
| tree | de5176f5720dfe84d4b728e255b12bbc09c02a12 /tools/perf/scripts/python | |
| parent | ver_linux: gcc -dumpversion, use regex to find version number (diff) | |
| download | linux-1d60b873aecc6fce4893b76500c30374f8c9e394.tar.gz linux-1d60b873aecc6fce4893b76500c30374f8c9e394.zip | |
ver_linux: make --version, use regex to find version number
Rely on regex to find the version number, rather than a field number.
Reduce the number of 'awk' invocations from two to one.
Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
