diff options
| author | Joe Perches <joe@perches.com> | 2019-10-07 21:30:46 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-10 16:24:19 +0300 |
| commit | fa6f90f349ac3c79bf085b2b4f5212ea102724d5 (patch) | |
| tree | 9d662e6c7a075430a5b810d6f9d990c466a6ac97 /tools/perf/scripts/python | |
| parent | ad90ff6964d733ee59d1679f692c23fb1dab7f30 (diff) | |
| download | linux-fa6f90f349ac3c79bf085b2b4f5212ea102724d5.tar.xz | |
sgi-gru: simplify procfs code some more
Use seq_puts and simple string output and not seq_printf with formats
and individual strings to reduce overall object size.
$ size drivers/misc/sgi-gru/gruprocfs.o* (x86-64 defconfig with gru)
text data bss dec hex filename
7006 8 0 7014 1b66 drivers/misc/sgi-gru/gruprocfs.o.new
7472 8 0 7480 1d38 drivers/misc/sgi-gru/gruprocfs.o.old
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Link: https://lore.kernel.org/r/cce61906a5f7f42f5b2b8b947fc61357bcb56e71.camel@perches.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
