diff --git a/Project.toml b/Project.toml index eb6c655..b24ac68 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PProf" uuid = "e4faabce-9ead-11e9-39d9-4379958e3056" authors = ["Valentin Churavy ", "Nathan Daly "] -version = "3.1.2" +version = "3.1.3" [deps] AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" diff --git a/src/PProf.jl b/src/PProf.jl index 95c7cb5..af15030 100644 --- a/src/PProf.jl +++ b/src/PProf.jl @@ -182,7 +182,7 @@ function pprof(data::Union{Nothing, Vector{UInt}} = nothing, threadid = data[idx - Profile.META_OFFSET_THREADID] meta = Label[ - Label!("thread_sleeping", thread_sleeping != 0), + Label!("thread_sleeping", thread_sleeping == 1), Label!("cycle_clock", cpu_cycle_clock, "nanoseconds"), Label!("taskid", taskid), Label!("threadid", threadid),