{
  "_class" : "hudson.matrix.MatrixBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "org.jenkinsci.plugins.ghprb.GhprbCause",
          "shortDescription" : "GitHub pull request #3207 of commit df53137f495e1a7ab79a84fc6c20c28a864d17b1, no merge conflicts."
        }
      ]
    },
    {
      "_class" : "org.jenkinsci.plugins.ghprb.GhprbParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "sha1",
          "value" : "origin/pr/3207/merge"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommit",
          "value" : "df53137f495e1a7ab79a84fc6c20c28a864d17b1"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommitAuthor",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommitAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbAuthorRepoGitUrl",
          "value" : "https://github.com/Jongy/bcc.git"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthor",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthorLogin",
          "value" : "yonghong-song"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTriggerAuthorLoginMention",
          "value" : "@yonghong-song"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullId",
          "value" : "3207"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTargetBranch",
          "value" : "master"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbSourceBranch",
          "value" : "fix-perf-submit-array"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GIT_BRANCH",
          "value" : "fix-perf-submit-array"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorLogin",
          "value" : "Jongy"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorLoginMention",
          "value" : "@Jongy"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullDescription",
          "value" : "GitHub pull request #3207 of commit df53137f495e1a7ab79a84fc6c20c28a864d17b1, no merge conflicts."
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullTitle",
          "value" : "Fix perf_submit() calls with array arg1 crashing libbcc"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullLink",
          "value" : "https://github.com/iovisor/bcc/pull/3207"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullLongDescription",
          "value" : "I'm writing a tool that streams unstructured data. Tried to use ringbuf but sadly it's available only since 5.8, which I don't have running now :(\\r\\nSo I'm using `BPF_PERF_OUTPUT` and trying to pass an array like:\\r\\n\\r\\n```\\r\\nunsigned char buf[16] = ...;\\r\\noutput.perf_submit(ctx, buf, sizeof(buf));\\r\\n```\\r\\nbut it crashes libbcc.\\r\\n\\r\\nNow that I understand the issue, changing the code to use `&buf` avoids it, but I think it's worth fixing the crash anyway.\\r\\n\\r\\nThis commit adds the first use of the `getTypePtrOrNull` to bcc, I'm not sure in which LLVM version it was added, but I checked and it exists at least since [LLVM 3](https://github.com/llvm/llvm-project/blob/llvmorg-3.0.0/clang/include/clang/AST/Type.h#L505), which is old enough, I guess.\\r\\n\\r\\nI tested `opensnoop` which makes use of the autogenerated perf data structures feature, to ensure I didn't completely disable it (and all cases that now don't go into the `if` would have crashed before, anyway...)"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbCommentBody",
          "value" : "[buildbot, test this please]"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbGhRepository",
          "value" : "iovisor/bcc"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbCredentialsId",
          "value" : "6d3daf13-69b8-48b1-9c8f-ec5353264113"
        }
      ]
    },
    {
      "_class" : "hudson.plugins.git.GitTagAction"
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : "<a title=\"Fix perf_submit() calls with array arg1 crashing libbcc\" href=\"https://github.com/iovisor/bcc/pull/3207\">PR #3207</a>: Fix perf_submit() calls wit...",
  "displayName" : "#772",
  "duration" : 1353343,
  "estimatedDuration" : 7460664,
  "executor" : None,
  "fullDisplayName" : "bcc-pr #772",
  "id" : "772",
  "keepLog" : False,
  "number" : 772,
  "queueId" : 6157,
  "result" : "SUCCESS",
  "timestamp" : 1609276059272,
  "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/772/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      
    ],
    "kind" : "git"
  },
  "culprits" : [
    
  ],
  "runs" : [
    {
      "number" : 772,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc25/772/"
    },
    {
      "number" : 772,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc26/772/"
    },
    {
      "number" : 772,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc27/772/"
    },
    {
      "number" : 772,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=fc28/772/"
    },
    {
      "number" : 772,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=ubuntu1604/772/"
    },
    {
      "number" : 772,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=ubuntu1710/772/"
    },
    {
      "number" : 772,
      "url" : "https://buildbot.iovisor.org/jenkins/job/bcc-pr/label=ubuntu1804/772/"
    }
  ]
}