match debug log
include .h, not .c
#include <string.h>
#include "BackTrace.h"
-#include "ceph_ver.c"
+
+#include "ceph_ver.h"
+#include "acconfig.h"
#define _STR(x) #x
#define STRINGIFY(x) _STR(x)
void BackTrace::print(std::ostream& out)
{
- out << "Generated by " << STRINGIFY(CEPH_VER) << std::endl;
+ out << " ceph version " << VERSION << " (" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl;
for (size_t i = skip; i < size; i++) {
// out << " " << (i-skip+1) << ": " << strings[i] << std::endl;