mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 15:40:53 +00:00
libsysprof-capture: add mmap()'d ring buffer
This is the start of a ring buffer to coordinate between processes without the overhead of writing directly to files within the inferior process. Instead, the parent process can monitor the ring buffer for framing information and pass that along to the capture writer.
This commit is contained in:
@ -22,8 +22,14 @@ test_capture_cursor = executable('test-capture-cursor', 'test-capture-cursor.c',
|
||||
dependencies: [libsysprof_capture_dep],
|
||||
)
|
||||
|
||||
test_mapped_ring_buffer = executable('test-mapped-ring-buffer', 'test-mapped-ring-buffer.c',
|
||||
c_args: test_cflags,
|
||||
dependencies: [libsysprof_capture_dep],
|
||||
)
|
||||
|
||||
test('test-capture', test_capture, env: test_env)
|
||||
test('test-capture-cursor', test_capture_cursor, env: test_env)
|
||||
test('test-mapped-ring-buffer', test_mapped_ring_buffer, env: test_env)
|
||||
|
||||
if get_option('libsysprof')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user