perf script: Fix documented const'ness of perf_dlfilter_fns
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 11 Aug 2021 10:10:31 +0000 (13:10 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Aug 2021 12:33:15 +0000 (09:33 -0300)
commit988db17932a78d201e826af3df7e89494ee0c037
tree5c9e7351268dd52c06eae49dc29b06d1f28a0139
parentc4ad8fabd03f76ed3a2a4c8aef6baf6cd4f24542
perf script: Fix documented const'ness of perf_dlfilter_fns

perf_dlfilter_fns must not be const, because it is not.

Declaring it const can result in it being mapped read-only, causing a
segfaullt when it is written. Update documentation accordingly.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Fixes: 8defa7147d5572 ("perf script Add API for filtering via dynamically loaded shared object")
Link: https //lore.kernel.org/r/20210811101036.17986-2-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-dlfilter.txt