Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement event filtering for self-profiler. #59915

Merged
merged 1 commit into from
Apr 19, 2019

Conversation

michaelwoerister
Copy link
Member

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from #59515 and, for the moment, is meant for performance testing.

r? @wesleywiser

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 12, 2019
@michaelwoerister
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Apr 12, 2019

⌛ Trying commit 92f6145 with merge 9dd2a99...

bors added a commit that referenced this pull request Apr 12, 2019
[WIP] Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from #59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
@bors
Copy link
Contributor

bors commented Apr 12, 2019

💔 Test failed - checks-travis

@rust-highfive
Copy link
Collaborator

The job dist-x86_64-linux of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_fold:end:services

travis_fold:start:git.checkout
travis_time:start:0102f92c
$ git clone --depth=2 --branch=try https://github.com/rust-lang/rust.git rust-lang/rust
---
[00:06:05]   Downloaded macro-utils v0.1.2
[00:06:05]   Downloaded rustc-ap-rustc_cratesio_shim v407.0.0
[00:06:05]   Downloaded dlmalloc v0.1.3
[00:06:05]   Downloaded byte-tools v0.2.0
[00:06:05]   Downloaded measureme v0.2.0
[00:06:06]   Downloaded url_serde v0.2.0
[00:06:06]   Downloaded rustc-ap-rustc_errors v407.0.0
[00:06:06]   Downloaded idna v0.1.5
[00:06:06]   Downloaded rustc-ap-graphviz v407.0.0
---
[00:46:36]    Compiling rustc_asan v0.0.0 (/checkout/src/librustc_asan)
[00:46:37]    Compiling rustc_msan v0.0.0 (/checkout/src/librustc_msan)
[00:47:20] thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/libcore/result.rs:997:5
[00:47:20] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[00:47:20] thread 'rustc' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/libcore/result.rs:997:5
[00:47:20] stack backtrace:
[00:47:20]    0:     0x7fbf496c05d3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h5ee153a5708476ff
[00:47:20]                                at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
[00:47:20]    1:     0x7fbf496b845b - std::sys_common::backtrace::_print::h37f7cb19e8925dd7
[00:47:20]                                at src/libstd/sys_common/backtrace.rs:71
[00:47:20]    2:     0x7fbf496bc836 - std::panicking::default_hook::{{closure}}::h71d76408e7ea4aca
[00:47:20]                                at src/libstd/sys_common/backtrace.rs:59
[00:47:20]                                at src/libstd/panicking.rs:197
[00:47:20]    3:     0x7fbf496bc5c9 - std::panicking::default_hook::hba712c5213afcfac
[00:47:20]                                at src/libstd/panicking.rs:211
[00:47:20]    4:     0x7fbf46cfa6a0 - rustc::util::common::panic_hook::h51146904b6d9df8c
[00:47:20]    5:     0x7fbf496bd028 - std::panicking::rust_panic_with_hook::h7c9d916ecd443dd9
[00:47:20]                                at src/libstd/panicking.rs:478
[00:47:20]    6:     0x7fbf496bcac1 - std::panicking::continue_panic_fmt::hfc217f9901983873
[00:47:20]                                at src/libstd/panicking.rs:381
[00:47:20]    7:     0x7fbf496bc9a5 - rust_begin_unwind
[00:47:20]                                at src/libstd/panicking.rs:308
[00:47:20]    8:     0x7fbf496e585c - core::panicking::panic_fmt::h22fbbae22ebba188
[00:47:20]                                at src/libcore/panicking.rs:85
[00:47:20]    9:     0x7fbf46e22d3d - core::result::unwrap_failed::h79406567cea1657e
[00:47:20]   10:     0x7fbf46e256ec - <measureme::mmap_serialization_sink::MmapSerializationSink as core::ops::drop::Drop>::drop::h40893ebac3478089
[00:47:20]   11:     0x7fbf499e0937 - <alloc::sync::Arc<T>>::drop_slow::hb4d08bb4dfa64c02
[00:47:20]   12:     0x7fbf499e45db - core::ptr::real_drop_in_place::h73d4610e58258978
[00:47:20]   13:     0x7fbf499e0c01 - <alloc::sync::Arc<T>>::drop_slow::hd297c215ac02409b
[00:47:20]   14:     0x7fbf499fbb7b - <alloc::rc::Rc<T> as core::ops::drop::Drop>::drop::h95229cc39ffaece8
[00:47:20]   15:     0x7fbf499b287b - core::ptr::real_drop_in_place::ha484dce8506c85f2
[00:47:20]   16:     0x7fbf499ac91e - rustc_interface::interface::run_compiler_in_existing_thread_pool::had57937cf0490b4d
[00:47:20]   17:     0x7fbf49978bd5 - <std::thread::local::LocalKey<T>>::with::h99363ecc34303cb6
[00:47:20]   18:     0x7fbf499e1894 - <scoped_tls::ScopedKey<T>>::set::h9bc93ac0f84ec0ec
[00:47:20]   19:     0x7fbf49a13b91 - syntax::with_globals::hb9fcbdbd3e7f1ce2
[00:47:20]   20:     0x7fbf4997a6d4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hbf97b5db70026ac3
[00:47:20]   21:     0x7fbf496cdd29 - __rust_maybe_catch_panic
[00:47:20]                                at src/libpanic_unwind/lib.rs:87
[00:47:20]   22:     0x7fbf4997c878 - core::ops::function::FnOnce::call_once::{{vtable.shim}}::hfb1cfde5deacd290
[00:47:20]   23:     0x7fbf4969f77e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h3b71c972b364448f
[00:47:20]                                at /rustc/9dd2a9910ec8832159fe9b23a1d08545aa453df3/src/liballoc/boxed.rs:702
[00:47:20]   24:     0x7fbf496cca8f - std::sys::unix::thread::Thread::new::thread_start::hc1cf3874635d723f
[00:47:20]                                at /rustc/9dd2a9910ec8832159fe9b23a1d08545aa453df3/src/liballoc/boxed.rs:702
[00:47:20]                                at src/libstd/sys_common/thread.rs:14
[00:47:20]                                at src/libstd/sys/unix/thread.rs:80
[00:47:20]   25:     0x7fbf4943e83c - start_thread
[00:47:20]   26:     0x7fbf48da6fdc - clone
[00:47:20] thread panicked while panicking. aborting.
[00:47:21] warning:   flock(fd, LOCK_EX);
[00:47:21] warning:   ^
[00:47:21] warning: /cargo/registry/src/github.com-1ecc6299db9ec823/compiler_builtins-0.1.10/compiler-rt/lib/profile/InstrProfilingUtil.c:153:3: warning: implicit declaration of function 'flock' is invalid in C99 [-Wimplicit-function-declaration]
[00:47:21] warning:   flock(fd, LOCK_UN);
[00:47:21] warning:   flock(fd, LOCK_UN);
[00:47:21] warning:   ^
[00:47:21] warning: 2 warnings generated.
[00:48:12] error: Could not compile `core`.
[00:48:12] 
[00:48:12] Caused by:
[00:48:12]   process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name core src/libcore/lib.rs --color always --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 -C metadata=a767b18e8ef14871 -C extra-filename=-a767b18e8ef14871 --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=clang -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps` (signal: 4, SIGILL: illegal instruction)
[00:48:13] error: build failed
[00:48:13] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "4" "--release" "--locked" "--color" "always" "--features" "panic-unwind backtrace profiler" "--manifest-path" "/checkout/src/libstd/Cargo.toml" "--message-format" "json"
[00:48:13] expected success, got: exit code: 101
[00:48:13] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap dist --host x86_64-unknown-linux-gnu --target x86_64-unknown-linux-gnu
---
travis_time:end:07d6d405:start=1555076585473368337,finish=1555076585484230647,duration=10862310
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:2dc810f0
$ ln -s . checkout && for CORE in obj/cores/core.*; do EXE=$(echo $CORE | sed 's|obj/cores/core\.[0-9]*\.!checkout!\(.*\)|\1|;y|!|/|'); if [ -f "$EXE" ]; then printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" "$CORE"; gdb --batch -q -c "$CORE" "$EXE" -iex 'set auto-load off' -iex 'dir src/' -iex 'set sysroot .' -ex bt -ex q; echo travis_fold":"end:crashlog; fi; done || true
travis_fold:start:crashlog
obj/cores/core.4698.!checkout!obj!build!x86_64-unknown-linux-gnu!stage1!bin!rustc
[New LWP 4703]
[New LWP 4698]
warning: Could not load shared library symbols for 7 libraries, e.g. /lib64/libpthread.so.0.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/rustc --crate-name core'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x00007fbf496bce4a in rust_panic_with_hook () at /rustc/9dd2a9910ec8832159fe9b23a1d08545aa453df3/src/libcore/fmt/mod.rs:316
316 /rustc/9dd2a9910ec8832159fe9b23a1d08545aa453df3/src/libcore/fmt/mod.rs: No such file or directory.
[Current thread is 1 (LWP 4703)]
#0  0x00007fbf496bce4a in rust_panic_with_hook () at /rustc/9dd2a9910ec8832159fe9b23a1d08545aa453df3/src/libcore/fmt/mod.rs:316
#1  0x00007fbf496bcac2 in continue_panic_fmt () at src/libstd/panicking.rs:381
#2  0x00007fbf496bc9a6 in rust_begin_unwind () at src/libstd/panicking.rs:308
#3  0x00007fbf496e585d in panic_fmt () at src/libcore/panicking.rs:85
#4  0x00007fbf46e22d3e in core::result::unwrap_failed::h79406567cea1657e () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/../lib/librustc-a993507cc2ce9b19.so
#5  0x00007fbf46e256ed in _$LT$measureme..mmap_serialization_sink..MmapSerializationSink$u20$as$u20$core..ops..drop..Drop$GT$::drop::h40893ebac3478089 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/../lib/librustc-a993507cc2ce9b19.so
#6  0x00007fbf499e0938 in _$LT$alloc..sync..Arc$LT$T$GT$$GT$::drop_slow::hb4d08bb4dfa64c02 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#7  0x00007fbf499e45dc in core::ptr::real_drop_in_place::h73d4610e58258978 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#8  0x00007fbf499e0c02 in _$LT$alloc..sync..Arc$LT$T$GT$$GT$::drop_slow::hd297c215ac02409b () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#9  0x00007fbf499fbb7c in _$LT$alloc..rc..Rc$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h95229cc39ffaece8 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#10 0x00007fbf499b287c in core::ptr::real_drop_in_place::ha484dce8506c85f2 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#11 0x00007fbf499ac91f in rustc_interface::interface::run_compiler_in_existing_thread_pool::had57937cf0490b4d () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#12 0x00007fbf49978bd6 in _$LT$std..thread..local..LocalKey$LT$T$GT$$GT$::with::h99363ecc34303cb6 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#13 0x00007fbf499e1895 in _$LT$scoped_tls..ScopedKey$LT$T$GT$$GT$::set::h9bc93ac0f84ec0ec () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#14 0x00007fbf49a13b92 in syntax::with_globals::hb9fcbdbd3e7f1ce2 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#15 0x00007fbf4997a6d5 in std::sys_common::backtrace::__rust_begin_short_backtrace::hbf97b5db70026ac3 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#16 0x00007fbf496cdd2a in __rust_maybe_catch_panic () at src/libpanic_unwind/lib.rs:87
#17 0x00007fbf4997c879 in core::ops::function::FnOnce::call_once::_$u7b$$u7b$vtable.shim$u7d$$u7d$::hfb1cfde5deacd290 () from ./checkout/obj/build/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc_driver-e0faff33e0439a04.so
#18 0x00007fbf4969f77f in call_once<(),FnBox<()>> () at /rustc/9dd2a9910ec8832159fe9b23a1d08545aa453df3/src/liballoc/boxed.rs:702
#19 0x00007fbf496cca90 in call_once<(),alloc::boxed::Box<FnBox<()>>> () at /rustc/9dd2a9910ec8832159fe9b23a1d08545aa453df3/src/liballoc/boxed.rs:702
#20 start_thread () at src/libstd/sys_common/thread.rs:14
#21 thread_start () at src/libstd/sys/unix/thread.rs:80
#22 0x00007fbf4943e83d in ?? ()
#23 0x0000000000000000 in ?? ()
travis_time:end:2dc810f0:start=1555076585490218113,finish=1555076587876852922,duration=2386634809
travis_fold:end:after_failure.4
travis_fold:start:after_failure.5
travis_time:start:040c612e
travis_time:start:040c612e
$ cat ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers || true
cat: ./obj/build/x86_64-unknown-linux-gnu/native/asan/build/lib/asan/clang_rt.asan-dynamic-i386.vers: No such file or directory
travis_fold:end:after_failure.5
travis_fold:start:after_failure.6
travis_time:start:018cb784
$ dmesg | grep -i kill

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 12, 2019
src/librustc/util/profiling.rs Outdated Show resolved Hide resolved
src/librustc/util/profiling.rs Show resolved Hide resolved
@michaelwoerister
Copy link
Member Author

@bors try

bors added a commit that referenced this pull request Apr 12, 2019
[WIP] Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from #59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
@bors
Copy link
Contributor

bors commented Apr 12, 2019

⌛ Trying commit cb7be41 with merge 34ebab3...

@bors
Copy link
Contributor

bors commented Apr 12, 2019

💔 Test failed - checks-travis

@rust-highfive
Copy link
Collaborator

The job dist-x86_64-linux of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_fold:end:services

travis_fold:start:git.checkout
travis_time:start:04d740e0
$ git clone --depth=2 --branch=try https://github.com/rust-lang/rust.git rust-lang/rust
---
############################################################              84.6%
######################################################################## 100.0%
[00:04:49] extracting /checkout/obj/build/cache/2019-03-20/cargo-beta-x86_64-unknown-linux-gnu.tar.gz
[00:04:49]     Updating crates.io index
[00:05:06] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:05:06] Build completed unsuccessfully in 0:00:31
[00:05:06] make: *** [prepare] Error 1
[00:05:07] Command failed. Attempt 2/5:
[00:05:08]     Updating crates.io index
[00:05:08]     Updating crates.io index
[00:05:08] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:05:08] Build completed unsuccessfully in 0:00:00
[00:05:08] make: *** [prepare] Error 1
[00:05:10] Command failed. Attempt 3/5:
[00:05:10]     Updating crates.io index
[00:05:10]     Updating crates.io index
[00:05:11] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:05:11] Build completed unsuccessfully in 0:00:00
[00:05:11] make: *** [prepare] Error 1
[00:05:14] Command failed. Attempt 4/5:
[00:05:14]     Updating crates.io index
[00:05:14]     Updating crates.io index
[00:05:15] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:05:15] Build completed unsuccessfully in 0:00:00
[00:05:15] make: *** [prepare] Error 1
[00:05:19] Command failed. Attempt 5/5:
[00:05:19]     Updating crates.io index
[00:05:19]     Updating crates.io index
[00:05:20] error: the lock file /checkout/Cargo.lock needs to be updated but --locked was passed to prevent this
[00:05:20] Build completed unsuccessfully in 0:00:00
[00:05:20] make: *** [prepare] Error 1
[00:05:20] The command has failed after 5 attempts.
travis_time:end:110c9f2c:start=1555083772692554127,finish=1555084093644517622,duration=320951963495

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@wesleywiser
Copy link
Member

@michaelwoerister I rebased your branch on top of #59515 which I've updated to use [email protected].

@bors try

@bors
Copy link
Contributor

bors commented Apr 13, 2019

⌛ Trying commit 10b43bb with merge 30ce132...

bors added a commit that referenced this pull request Apr 13, 2019
[WIP] Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from #59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
@bors
Copy link
Contributor

bors commented Apr 13, 2019

☀️ Try build successful - checks-travis
Build commit: 30ce132

@kennytm
Copy link
Member

kennytm commented Apr 13, 2019

@rust-timer build 30ce132

@rust-timer
Copy link
Collaborator

Success: Queued 30ce132 with parent 99da733, comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit 30ce132

@wesleywiser
Copy link
Member

Wow, that actually seems pretty good!

@michaelwoerister
Copy link
Member Author

Yeah, that looks like a good start.

@michaelwoerister
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Apr 15, 2019

⌛ Trying commit 9900f3fbb201ce10804b84d571af520450e9f239 with merge 4dd3271ce58c3080ddcc1bf21df704efad2b73c1...

@bors
Copy link
Contributor

bors commented Apr 15, 2019

☀️ Try build successful - checks-travis
Build commit: 4dd3271ce58c3080ddcc1bf21df704efad2b73c1

Centril added a commit to Centril/rust that referenced this pull request Apr 18, 2019
…, r=wesleywiser

Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
Centril added a commit to Centril/rust that referenced this pull request Apr 18, 2019
…, r=wesleywiser

Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
Centril added a commit to Centril/rust that referenced this pull request Apr 18, 2019
…, r=wesleywiser

Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
@bors
Copy link
Contributor

bors commented Apr 19, 2019

⌛ Testing commit 08efbac with merge 9ae856c4d802aed5c1663a6837b69ed3c39853f5...

Centril added a commit to Centril/rust that referenced this pull request Apr 19, 2019
…, r=wesleywiser

Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
@Centril
Copy link
Contributor

Centril commented Apr 19, 2019

@bors retry

@bors
Copy link
Contributor

bors commented Apr 19, 2019

⌛ Testing commit 08efbac with merge c9e8a274f30eadd5a3cae0069d922e75e67bee8d...

Centril added a commit to Centril/rust that referenced this pull request Apr 19, 2019
…, r=wesleywiser

Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
@Centril
Copy link
Contributor

Centril commented Apr 19, 2019

@bors retry

@bors
Copy link
Contributor

bors commented Apr 19, 2019

⌛ Testing commit 08efbac with merge 271c8cfeca93e207e6be4d475ff15c9409f66917...

Centril added a commit to Centril/rust that referenced this pull request Apr 19, 2019
…, r=wesleywiser

Implement event filtering for self-profiler.

This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing.

r? @wesleywiser
@Centril
Copy link
Contributor

Centril commented Apr 19, 2019

@bors retry

bors added a commit that referenced this pull request Apr 19, 2019
Rollup of 16 pull requests

Successful merges:

 - #59915 (Implement event filtering for self-profiler.)
 - #59933 (Make clear that format padding doesn't work for Debug)
 - #60023 (implement specialized nth_back() for Bytes, Fuse and Enumerate)
 - #60032 (Remove unwanted z-index change)
 - #60041 (Simplify the returning of a Result a bit)
 - #60045 (Suggest appropriate path when calling associated item on bare types)
 - #60052 (Correct unused parameter diagnostic)
 - #60056 (Update rustfmt to 1.2.1)
 - #60060 (whitelist RTM x86 target cpu feature)
 - #60061 (Change suggestion of field when not in self context)
 - #60064 (Point at try `?` on errors affecting the err match arm of the desugared code)
 - #60078 (Use more realistic example for thread builder)
 - #60080 (Fix small errors in docs for `rchunks_exact` and `rchunks_exact_mut`.)
 - #60082 (Update miri)
 - #60097 (Use -mergefunc-use-aliases for any LLVM >= 8)
 - #60098 (libcore: deny `elided_lifetimes_in_paths`)

Failed merges:

r? @ghost
@bors
Copy link
Contributor

bors commented Apr 19, 2019

⌛ Testing commit 08efbac with merge 316a391...

@bors bors merged commit 08efbac into rust-lang:master Apr 19, 2019
EVENT_FILTERS_BY_NAME.iter()
.map(|&(name, _)| name.to_string())
.collect::<Vec<_>>()
.join(", "));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this warrants being an error instead of just a warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants