summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>2017-01-09 23:11:57 +0300
committerJonathan Corbet <corbet@lwn.net>2017-01-13 20:53:24 +0300
commitada5f446bbe504ddf5a374cae65b39108db86867 (patch)
tree2bc4c134cdccbe4231530a268d7f9fc4b036a51d /tools/perf/scripts/python/call-graph-from-postgresql.py
parentff58fa7f556c1d87061e4a91ed875d5f8aa9571f (diff)
downloadlinux-ada5f446bbe504ddf5a374cae65b39108db86867.tar.xz
kernel-doc: properly document array arguments of function
Documentation for array parameters passed in a function, like the first argument in the function below, weren't getting exported in the rst format, although they work fine for html and pdf formats: void drm_clflush_pages(struct page * pages[], unsigned long num_pages) That's because the string key to store the description in the parameterdescs dictionary doesn't have the [] suffix. This cleans up the suffix from the key before accessing the dictionary. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Fixes: c0d1b6ee780a ("kernel-doc: produce RestructuredText output") Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions