aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2016-04-05 12:41:14 -0400
committerDavid S. Miller <[email protected]>2016-04-05 16:29:36 -0400
commitb9bb53f3836f4eb2bdeb3447be11042bd29c2408 (patch)
treef1052dadfe3e5694c235c77c7447a75a7ec353c1 /tools/perf/scripts/python/call-graph-from-postgresql.py
parente43d15c8d3c8680fbf142360e5958f2ddd437047 (diff)
sock: convert sk_peek_offset functions to WRITE_ONCE
Make the peek offset interface safe to use in lockless environments. Use READ_ONCE and WRITE_ONCE to avoid race conditions between testing and updating the peek offset. Suggested-by: Eric Dumazet <[email protected]> Signed-off-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions