| commit | 8ca690c85e5ab3559ea93b55803a8d4c12799ca0 | [log] [tgz] |
|---|---|---|
| author | Andi Kleen <ak@linux.intel.com> | Tue Feb 25 08:09:05 2014 -0800 |
| committer | Andi Kleen <ak@linux.intel.com> | Tue Feb 25 14:57:16 2014 -0800 |
| tree | 601d68d30f5224096e85ad878fc3279f8d6fa942 | |
| parent | df90e62c42fa360b6bb012fce9a237e6207d29e9 [diff] |
pt: Inline PT packet no logging test On larger decodes the packet logging showed up as hot functions (5+%) even when disabled. The problem was doing two function calls just to decide to do nothing. Inline the no logging test into the caller. Improves decoding performance on a range of traces by 3-4% Signed-off-by: Andi Kleen <ak@linux.intel.com>