aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2018-06-11 16:47:21 +0300
committerDan Williams <[email protected]>2018-12-10 15:58:46 -0800
commit3d9cbe37c16ffd19eeab6b49a0311bbb999627d8 (patch)
tree39d06daf02f50b4d896227790a4df77cde1781d6 /tools/perf/scripts/python/export-to-sqlite.py
parent9065ed1281a57f8cf84695b4a1e86ee9bd586b01 (diff)
libnvdimm, namespace: Replace kmemdup() with kstrndup()
kstrndup() takes care of '\0' terminator for the strings. Use it here instead of kmemdup() + explicit terminating the input string. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Dave Jiang <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions