Enable BPF program instruction traces (#15613) (#15621)

(cherry picked from commit 3cd00965a7)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2021-03-02 00:35:55 -08:00
committed by GitHub
parent f0afbf4948
commit 297c08310f
4 changed files with 13 additions and 4 deletions

View File

@@ -430,8 +430,7 @@ impl Default for ProgramTest {
///
fn default() -> Self {
solana_logger::setup_with_default(
"solana_bpf_loader=debug,\
solana_rbpf::vm=debug,\
"solana_rbpf::vm=debug,\
solana_runtime::message_processor=debug,\
solana_runtime::system_instruction_processor=trace,\
solana_program_test=info",
@@ -523,7 +522,7 @@ impl ProgramTest {
/// directory.
///
/// If `process_instruction` is provided, the natively built-program may be used instead of the
/// BPF shared object depending on the `bpf` environment variable.
/// BPF shared object depending on the `BPF_OUT_DIR` environment variable.
pub fn add_program(
&mut self,
program_name: &str,