Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1581477
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V8 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section |
| Date | 2017-02-15 18:10 +0100 |
| Message-ID | <tbbfA-2La-13@gated-at.bofh.it> (permalink) |
| References | <t66Jz-iP-5@gated-at.bofh.it> <t66JA-iP-27@gated-at.bofh.it> <tba9Q-1T0-7@gated-at.bofh.it> <tbb5U-2sv-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 15 Feb 2017 09:54:09 -0700 "Baicar, Tyler" <tbaicar@codeaurora.org> wrote: \ > > In v9 I currently have this and the ARM trace event from this series > both wrapped in an > ifdef verifying that CONFIG_RAS is enabled. This resolves the kbuild > failures and > will have this code compiled out when that config isn't enabled. Do you > think I > should use the ifdef or use these *_enabled() functions? > I believe you need both. The *_enabled() functions wont prevent build errors. But since tracing is seldom enabled (usually only when you want to see what's happening), the *_enabled() functions optimize the code to not perform tasks that are only needed when tracing is enabled. When I say "enabled" I mean actively tracing, as supposed to being just enabled in the kernel. -- Steve
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH V8 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section Steven Rostedt <rostedt@goodmis.org> - 2017-02-15 17:00 +0100
Re: [PATCH V8 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section "Baicar, Tyler" <tbaicar@codeaurora.org> - 2017-02-15 18:00 +0100
Re: [PATCH V8 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section "Baicar, Tyler" <tbaicar@codeaurora.org> - 2017-02-15 18:10 +0100
Re: [PATCH V8 08/10] ras: acpi / apei: generate trace event for unrecognized CPER section Steven Rostedt <rostedt@goodmis.org> - 2017-02-15 18:10 +0100
csiph-web