summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-08-21 05:19:56 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-08-21 05:19:56 +0200
commit6bad94bb8546a3a5595d340e7a2d809635e3bd5d (patch)
tree0412e103b303d901252dd53d02b537f8daae7ec6
parente256f2f50cc579a89e8b9460e192097e99e36ccb (diff)
downloadpcitool-6bad94bb8546a3a5595d340e7a2d809635e3bd5d.tar.gz
pcitool-6bad94bb8546a3a5595d340e7a2d809635e3bd5d.tar.bz2
pcitool-6bad94bb8546a3a5595d340e7a2d809635e3bd5d.tar.xz
pcitool-6bad94bb8546a3a5595d340e7a2d809635e3bd5d.zip
Keep frame pointers
-rw-r--r--CMakeLists.txt2
-rw-r--r--docs/ToDo5
2 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 337a366..b6fce9a 100644
--- a/CMakeLists.txt
+++ b/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)
diff --git a/docs/ToDo b/docs/ToDo
index f9f14e6..ea3c18e 100644
--- a/docs/ToDo
+++ b/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?
+ \ No newline at end of file