diff options
| author | Joe Perches <[email protected]> | 2019-10-07 11:30:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-10-10 15:24:19 +0200 |
| commit | fa6f90f349ac3c79bf085b2b4f5212ea102724d5 (patch) | |
| tree | 9d662e6c7a075430a5b810d6f9d990c466a6ac97 /tools/perf/scripts/python/bin | |
| parent | ad90ff6964d733ee59d1679f692c23fb1dab7f30 (diff) | |
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 <[email protected]>
Acked-by: Dimitri Sivanich <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions