Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5921

Fix wtperf_xray to detect builds that haven't been instrumented with XRay

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 1
    • Storage Engines 2020-04-06

      sulabh.mahajan recently had a try of running wtperf_xray.sh without instrumenting with fxray-instrument. We have a check for this in the script but it didn't seem to work as intended. The output looked like this:

      sulabh@sud:~/work/wt-dev/build_posix/bench/wtperf$ ../../../bench/wtperf/runners/wtperf_xray.sh runme.wtperf
      ../../../bench/wtperf/runners/wtperf_xray.sh: using WT_TEST as home directory
      objdump: section 'xray_instr_map' mentioned in a -j option, but not found in any input file
      ../../../bench/wtperf/runners/wtperf_xray.sh: creating directory WT_TEST
      rm: cannot remove 'xray-log.wtperf.*': No such file or directory
      rm: cannot remove 'WT_TEST/wtperf_account.txt': No such file or directory
      rm: cannot remove 'WT_TEST/wtperf_stack.txt': No such file or directory
      rm: cannot remove 'WT_TEST/wtperf_graph.svg': No such file or directory
      rm: cannot remove 'WT_TEST/wtperf_flame.svg': No such file or directory
      ls: cannot access 'xray-log.wtperf.*': No such file or directory
      ../../../bench/wtperf/runners/wtperf_xray.sh: detected more than one xray log
      

            Assignee:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Reporter:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: