{
  "_class" : "hudson.matrix.MatrixBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "org.jenkinsci.plugins.ghprb.GhprbCause",
          "shortDescription" : "GitHub pull request #3651 of commit 173857dc031db9fdbaa6d8d34ad143a664bddab8, no merge conflicts."
        }
      ]
    },
    {
      "_class" : "org.jenkinsci.plugins.ghprb.GhprbParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "sha1",
          "value" : "origin/pr/3651/merge"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommit",
          "value" : "173857dc031db9fdbaa6d8d34ad143a664bddab8"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommitAuthor",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbActualCommitAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbAuthorRepoGitUrl",
          "value" : "https://github.com/kinvolk/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" : "3651"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbTargetBranch",
          "value" : "master"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbSourceBranch",
          "value" : "memset-zero"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GIT_BRANCH",
          "value" : "memset-zero"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorEmail",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorLogin",
          "value" : "eiffel-fl"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullAuthorLoginMention",
          "value" : "@eiffel-fl"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullDescription",
          "value" : "GitHub pull request #3651 of commit 173857dc031db9fdbaa6d8d34ad143a664bddab8, no merge conflicts."
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullTitle",
          "value" : "tools/capable: Set data to zero before setting fields."
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullLink",
          "value" : "https://github.com/iovisor/bcc/pull/3651"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "ghprbPullLongDescription",
          "value" : "Hi.\\r\\n\\r\\n\\r\\nIn our fork, we added a field to `struct data_t`.\\r\\nThus, with the actual code and if all fields are not used (*e.g.* by not using `-U` and `-K` options), we would get BPF valider error like the following:\\r\\n```\\r\\n...\\r\\n; bpf_perf_event_output(ctx, bpf_pseudo_fd(1, -1), CUR_CPU_IDENTIFIER, &data, sizeof(data));\\r\\n74: (bf) r1 = r6\\r\\n75: (18) r3 = 0xffffffff\\r\\n77: (b7) r5 = 56\\r\\n78: (85) call bpf_perf_event_output#25\\r\\ninvalid indirect read from stack off -80+44 size 56\\r\\nprocessed 76 insns (limit 1000000) max_states_per_insn 0 total_states 6 peak_states 6 mark_read 6\\r\\n```\\r\\n\\r\\nIn this commit, I added call to `__builtin_memset` to ensure `data` is full of 0, so unaligned access do not cause trouble anymore.\\r\\nTo be honest, this code is not really needed, as code inside `iovisor/bcc` works.\\r\\nBut I though it could be a good idea to submit you this modification as it makes the code safer (for example if one day a new field is added to the `struct data_t`).\\r\\nNote that this comment put me on the way:\\r\\nhttps://github.com/iovisor/bcc/issues/2623#issuecomment-560214481\\r\\n\\r\\nIf you see any way to improve this PR, feel free to share.\\r\\n\\r\\n\\r\\nBest regards.\\r\\n"
        },
        {
          "_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" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : "<a title=\"tools/capable: Set data to zero before setting fields.\" href=\"https://github.com/iovisor/bcc/pull/3651\">PR #3651</a>: tools/capable: Set data to ...",
  "displayName" : "#1174",
  "duration" : 1319759,
  "estimatedDuration" : 7460664,
  "executor" : None,
  "fullDisplayName" : "bcc-pr #1174",
  "id" : "1174",
  "keepLog" : False,
  "number" : 1174,
  "queueId" : 9401,
  "result" : "SUCCESS",
  "timestamp" : 1634058558291,
  "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/1174/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      
    ],
    "kind" : "git"
  },
  "culprits" : [
    
  ],
  "runs" : [
    {
      "number" : 1174,
      "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc25/1174/"
    },
    {
      "number" : 1174,
      "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc26/1174/"
    },
    {
      "number" : 1174,
      "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc27/1174/"
    },
    {
      "number" : 1174,
      "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc28/1174/"
    },
    {
      "number" : 1174,
      "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=ubuntu1604/1174/"
    },
    {
      "number" : 1174,
      "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=ubuntu1710/1174/"
    },
    {
      "number" : 1174,
      "url" : "https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=ubuntu1804/1174/"
    }
  ]
}