Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1691937
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] clocksource: Convert to using %pOF instead of full_name |
| Date | 2017-07-19 17:50 +0200 |
| Message-ID | <u4ZoD-27S-59@gated-at.bofh.it> (permalink) |
| References | <u4IH8-7NO-9@gated-at.bofh.it> <u4SZQ-68j-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jul 19, 2017 at 3:55 AM, Marc Gonzalez <marc_gonzalez@sigmadesigns.com> wrote: > On 18/07/2017 23:42, Rob Herring wrote: > >> Now that we have a custom printf format specifier, convert users of >> full_name to use %pOF instead. This is preparation to remove storing >> of the full path string for each node. > > Nice. For my own reference: > http://elixir.free-electrons.com/linux/v4.13-rc1/source/Documentation/printk-formats.txt#L349 > > About removing the full path. Does this mean that ultimately > %pOF will print just the name? And the 'f' spec will disappear? No, the vsprintf code is already designed to print the full path whether full_name is the full path or just the basename. %pOF is just the default. "f" is needed so you can combine it with the other specifiers. > Is this done to save memory? Yes. That's the next step. Rob
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] clocksource: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 00:00 +0200
Re: [PATCH] clocksource: Convert to using %pOF instead of full_name Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2017-07-19 11:00 +0200
Re: [PATCH] clocksource: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 17:50 +0200
Re: [PATCH] clocksource: Convert to using %pOF instead of full_name Alexandre Torgue <alexandre.torgue@st.com> - 2017-07-19 11:40 +0200
csiph-web