diff options
author | Petr Mladek <[email protected]> | 2019-04-17 13:53:43 +0200 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2019-04-26 16:19:10 +0200 |
commit | d529ac4194f2c346b2f62f0f473a578a7357039b (patch) | |
tree | 1eaeade0500bd4def25cf7c33b7fa694f1586e93 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1ac2f9789c4b76ad749870c25ffae0cbcd1f510f (diff) |
vsprintf: Do not check address of well-known strings
We are going to check the address using probe_kernel_address(). It will
be more expensive and it does not make sense for well known address.
This patch splits the string() function. The variant without the check
is then used on locations that handle string constants or strings defined
as local variables.
This patch does not change the existing behavior.
Link: http://lkml.kernel.org/r/[email protected]
To: Rasmus Villemoes <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: "Tobin C . Harding" <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: [email protected]
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions