pprof 0.3.12

An internal perf tools for rust programs.
Documentation
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.

quick_error! {
    #[derive(Debug)]
    pub enum Error {
        NixError(err: nix::Error) {
            from()
            cause(err)
            description(err.description())
        }
        IoError(err: std::io::Error) {
            from()
            cause(err)
            description(err.description())
        }
        CreatingError
        Running
        NotRunning
    }
}

pub type Result<T> = std::result::Result<T, Error>;