diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2017-02-25 02:00:20 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-25 04:46:56 +0300 |
| commit | a0a07b87f3942fdee7692914b36576e009e2d434 (patch) | |
| tree | 9a0b2cc6c820ada2db8d66ba74fff319ac0bf10c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4e4a7fb7b4574b4074e4097561c2e34a7333306f (diff) | |
| download | linux-a0a07b87f3942fdee7692914b36576e009e2d434.tar.xz | |
proc: less code duplication in /proc/*/cmdline
After staring at this code for a while I've figured using small 2-entry
array describing ARGV and ENVP is the way to address code duplication
critique.
Link: http://lkml.kernel.org/r/20170105185724.GA12027@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
