diff options
author | Namhyung Kim <namhyung@kernel.org> | 2019-05-27 09:11:49 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-05-29 00:37:43 +0300 |
commit | 7cb10a08df98e643b87d4bc8422e50e9c43b5c60 (patch) | |
tree | 725153387454ccf8336ad6c26263d628862c84b1 /lib/audit.c | |
parent | a0c0a4ac021b017e385d0328541ccfebeef165fc (diff) | |
download | linux-7cb10a08df98e643b87d4bc8422e50e9c43b5c60.tar.xz |
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 <namhyung@kernel.org>
Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Hari Bathini <hbathini@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Krister Johansen <kjlx@templeofstupid.com>
Link: http://lkml.kernel.org/r/20190527061149.168640-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions