summaryrefslogtreecommitdiff
path: root/test/pipeline
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-12-01 12:15:48 -0800
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-12-03 12:53:07 +0200
commit83dfe7b2231ecde3a8141c1737570176dfd5c30c (patch)
tree964aab31bfc112fdc7307a20927d52d85ab852ff /test/pipeline
parent3f881dbc338e8f24f478567ee890c1f36ccb8996 (diff)
libcamera: backtrace: Include cxxabi.h without HAVE_DW
Since it's used in code without HAVE_DW, it fails to compile on such systems e.g. linux/musl Fixes src/libcamera/base/backtrace.cpp:235:16: error: use of undeclared identifier 'abi' char *name = abi::__cxa_demangle(symbol, nullptr, nullptr, nullptr); ^ 1 error generated. Signed-off-by: Khem Raj <raj.khem@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/pipeline')
0 files changed, 0 insertions, 0 deletions
.1-or-later */ /* * Copyright (C) 2019, Google Inc. * * timer.h - Generic timer */ #ifndef __LIBCAMERA_TIMER_H__ #define __LIBCAMERA_TIMER_H__ #include <chrono> #include <stdint.h> #include <libcamera/object.h> #include <libcamera/signal.h> namespace libcamera { class Message; class Timer : public Object { public: Timer(Object *parent = nullptr); ~Timer(); void start(unsigned int msec) { start(std::chrono::milliseconds(msec)); } void start(std::chrono::milliseconds duration); void start(std::chrono::steady_clock::time_point deadline); void stop(); bool isRunning() const; std::chrono::steady_clock::time_point deadline() const { return deadline_; } Signal<Timer *> timeout; protected: void message(Message *msg) override; private: void registerTimer(); void unregisterTimer(); bool running_; std::chrono::steady_clock::time_point deadline_; }; } /* namespace libcamera */ #endif /* __LIBCAMERA_TIMER_H__ */