Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
readme is incorrect
  • Loading branch information
melekes committed Apr 4, 2023
commit 2797dad1769e7877727c49c8ca50e755656545ae
4 changes: 1 addition & 3 deletions cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ use std::net::ToSocketAddrs;
pub use crate::{error::Error, service::BlockId};
#[cfg(feature = "hostperfcheck")]
pub use polkadot_performance_test::PerfCheckError;
#[cfg(feature = "pyroscope")]
use pyroscope_pprofrs::{Pprof, PprofConfig};

impl From<String> for Error {
fn from(s: String) -> Self {
Expand Down Expand Up @@ -383,7 +381,7 @@ pub fn run() -> Result<()> {
"http://".to_owned() + address.to_string().as_str(),
"polkadot".to_owned(),
)
.backend(Pprof::new(PprofConfig::new().sample_rate(113)))
.backend(pyroscope_pprofrs::PprofConfig::new().sample_rate(113))
.build()?;
Some(agent.start()?)
} else {
Expand Down