aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLEROY Christophe <[email protected]>2015-05-19 12:07:50 +0200
committerScott Wood <[email protected]>2015-08-07 22:59:21 -0500
commit5b2a32e806342f237f68435a50e1071f7f32b5c5 (patch)
treeab35d6e9fe821c2cdd90d8bdbfce68cddae8c5a8 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentdf087e450d7ddc0b15bd8824206d964720b4f5e4 (diff)
powerpc/32: memset(0): use cacheable_memzero
cacheable_memzero uses dcbz instruction and is more efficient than memset(0) when the destination is in RAM This patch renames memset as generic_memset, and defines memset as a prolog to cacheable_memzero. This prolog checks if the byte to set is 0. If not, it falls back to generic_memcpy() cacheable_memzero disappears as it is not referenced anywhere anymore Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Scott Wood <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions