diff options
| author | Namhyung Kim <[email protected]> | 2019-05-27 06:11:49 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-28 21:37:43 +0000 |
| commit | 7cb10a08df98e643b87d4bc8422e50e9c43b5c60 (patch) | |
| tree | 725153387454ccf8336ad6c26263d628862c84b1 /tools/perf/scripts/python/compaction-times.py | |
| parent | perf top: Add --namespaces option (diff) | |
| download | kernel-7cb10a08df98e643b87d4bc8422e50e9c43b5c60.tar.gz kernel-7cb10a08df98e643b87d4bc8422e50e9c43b5c60.zip | |
perf tools: Remove const from thread read accessors
The namespaces and comm fields of a thread are protected by rwsem and
require write access for it. So it ended up using a cast to remove
the const qualifier. Let's get rid of the const then.
Signed-off-by: Namhyung Kim <[email protected]>
Suggested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Hari Bathini <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Krister Johansen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
