aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorlong.wanglong <long.wanglong@huawei.com>2015-05-21 09:47:22 -0700
committerTony Luck <tony.luck@intel.com>2015-05-21 09:47:22 -0700
commit07239fc854ec61b3cdc400d2a50d322d39c673f6 (patch)
tree55183d6636f9443e71f47b195fc574f850f1b139 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentfs/pstore: update the backend parameter in pstore module (diff)
downloadwireguard-linux-07239fc854ec61b3cdc400d2a50d322d39c673f6.tar.xz
wireguard-linux-07239fc854ec61b3cdc400d2a50d322d39c673f6.zip
fs/pstore: Optimization function ramoops_init_przs
The value of cxt->record_size does not change in the loop, so this patch optimize the assign statement by dropping sz entirely and using cxt->record_size in its place. Signed-off-by: Wang Long <long.wanglong@huawei.com> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions