aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2019-01-24 02:48:16 +0100
committerJiri Kosina <[email protected]>2019-01-25 16:43:35 +0100
commitb73d5dc72272c0012999f939476b703d269d21b6 (patch)
treef7badad5904aa7d595e47f036433dc81c8f4ac7c /tools/perf/scripts/python/export-to-sqlite.py
parenta6c34247af70053219fcfa711bfc5e0d0d954daf (diff)
livepatch: samples: non static warnings fix
Sparse reported warnings about non-static symbols. For the variables a simple static attribute is fine - for the functions referenced by livepatch via klp_func the symbol-names must be unmodified in the symbol table and the patchable code has to be emitted. The resolution is to attach __used attribute to the shared statically declared functions. Link: https://lore.kernel.org/lkml/[email protected]/ Suggested-by: Joe Lawrence <[email protected]> Signed-off-by: Nicholas Mc Guire <[email protected]> Acked-by: Miroslav Benes <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions