Browse Source

Keep frame pointers

Suren A. Chilingaryan 8 years ago
parent
commit
6bad94bb85
2 changed files with 6 additions and 1 deletions
  1. 1 1
      CMakeLists.txt
  2. 5 0
      docs/ToDo

+ 1 - 1
CMakeLists.txt

@@ -21,7 +21,7 @@ endif (NOT DISABLE_PCITOOL)
 
 check_include_files(stdatomic.h HAVE_STDATOMIC_H)
 
-add_definitions("-fPIC --std=c99 -Wall -O2 -gdwarf-2 -g3")
+add_definitions("-fPIC --std=c99 -Wall -O2 -gdwarf-2 -g3 -fno-omit-frame-pointer")
 #add_definitions("-fPIC --std=c99 -Wall -O2")
 
 include(cmake/version.cmake)

+ 5 - 0
docs/ToDo

@@ -17,3 +17,8 @@ Low Priority (only as generalization for other projects)
  5. Use pthread_condition_t instead of polling
  6. Support FIFO reads/writes from/to registers
  7. We managed kmem performance using next kmem prediction, but it is still wise to provide additionally a binary tree for faster search
+
+Performance
+===========
+ 1. Even with fully algined data, glibc defaults to __memcpy_sse2_unaligned (called from ipecamera_data_callback and fastwriter_push). Can we do something?
+