mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: use embedded kallsyms when possible
This uses the kallysms that has been embedded in the capture file when that is possible (such as when proc-source appends it).
This commit is contained in:
@ -27,12 +27,6 @@ test_capture_cursor = executable('test-capture-cursor', 'test-capture-cursor.c',
|
||||
test('test-capture', test_capture, env: test_env)
|
||||
test('test-capture-cursor', test_capture_cursor, env: test_env)
|
||||
|
||||
# Use ./tests/test-kallsyms /proc/kallsyms to test (as user or root)
|
||||
test_kallsyms = executable('test-kallsyms', 'test-kallsyms.c',
|
||||
c_args: test_cflags,
|
||||
dependencies: test_deps,
|
||||
)
|
||||
|
||||
if get_option('enable_gtk')
|
||||
|
||||
test_ui_deps = [
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <sysprof.h>
|
||||
|
||||
#include "sysprof-kallsyms.h"
|
||||
|
||||
int
|
||||
main (gint argc,
|
||||
gchar *argv[])
|
||||
|
||||
Reference in New Issue
Block a user