+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+
#ifndef CEPH_BACKTRACE_H
#define CEPH_BACKTRACE_H
namespace ceph {
+class Formatter;
+
struct BackTrace {
const static int max = 100;
const BackTrace& operator=(const BackTrace& other);
void print(std::ostream& out) const;
+ void dump(Formatter *f) const;
};
inline std::ostream& operator<<(std::ostream& out, const BackTrace& bt) {