<matrixBuild _class='hudson.matrix.MatrixBuild'><action _class='hudson.model.CauseAction'><cause _class='org.jenkinsci.plugins.ghprb.GhprbCause'><shortDescription>GitHub pull request #3500 of commit d2af8872904628d00ebaca69277c18b77a4187d8, no merge conflicts.</shortDescription></cause></action><action _class='org.jenkinsci.plugins.ghprb.GhprbParametersAction'><parameter _class='hudson.model.StringParameterValue'><name>sha1</name><value>origin/pr/3500/merge</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbActualCommit</name><value>d2af8872904628d00ebaca69277c18b77a4187d8</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbActualCommitAuthor</name><value>masi19bw</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbActualCommitAuthorEmail</name><value>masi19bw@gmail.com</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbAuthorRepoGitUrl</name><value>https://github.com/masibw/bcc.git</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthor</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthorEmail</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthorLogin</name><value>yonghong-song</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthorLoginMention</name><value>@yonghong-song</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullId</name><value>3500</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTargetBranch</name><value>master</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbSourceBranch</name><value>hash_of_map_custom_key</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GIT_BRANCH</name><value>hash_of_map_custom_key</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullAuthorEmail</name><value>masi19bw@gmail.com</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullAuthorLogin</name><value>masibw</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullAuthorLoginMention</name><value>@masibw</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullDescription</name><value>GitHub pull request #3500 of commit d2af8872904628d00ebaca69277c18b77a4187d8, no merge conflicts.</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullTitle</name><value>Allow the use of custom keys in BPF_HASH_OF_MAPS</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullLink</name><value>https://github.com/iovisor/bcc/pull/3500</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullLongDescription</name><value>close #3496 \r\nHi team. I wrote a macro that can use custom key for `BPF_HASH_OF_MAPS`.\r\n\r\nBut in c++,   `get_map_in_map_table` is shared to `BPF_ARRAY_OF_MAPS`.\r\nSo, when using `BPF_ARRAY_OF_MAPS`, we have to declare like this.\r\n```\r\nauto t = bpf.get_map_in_map_table&lt;int&gt;(\"maps_array\");\r\n```\r\nIs it okay?\r\n\r\n\r\n-- solved --\r\nMaybe I could wrote about `BPF_HASH_OF_MAPS` macro. But `.cc` files have errors. I've never write c++ programs, Can anyone help me?\r\n```Bash\r\nIn file included from /home/*/bcc/tests/cc/test_map_in_map.cc:21:\r\nIn file included from /home/*/bcc/src/cc/api/BPF.h:25:\r\n/home/*/bcc/src/cc/api/BPFTable.h:487:15: error: function 'ebpf::BPFMapInMapTable&lt;custom_key&gt;::update_value' is used but not defined in this translation unit, and cannot be defined in any other translation unit because its type does not have linkage\r\n  StatusTuple update_value(const KeyType&amp; key, const int&amp; inner_map_fd);\r\n              ^\r\n/home/*/bcc/tests/cc/test_map_in_map.cc:182:13: note: used here\r\n    res = t.update_value(hash_key, ex1_fd);\r\n```\r\n\r\n\r\nThis is probably due to the fact that the definition and implementation are in separate files, but if I write it in the header file, the following error occurs. I don't know which one is closer to the solution, so I pushed the one where the definition and implementation are in separate files.\r\n\r\n```Bash\r\nIn file included from /home/*/bcc/tests/cc/test_map_in_map.cc:21:\r\nIn file included from /home/*/bcc/src/cc/api/BPF.h:25:\r\n/home/*/bcc/src/cc/api/BPFTable.h:499:23: error: const_cast from 'char *(*)(const char *, int) throw()' to 'custom_key *' is not allowed\r\n    if (!this-&gt;remove(const_cast&lt;KeyType*&gt;(&amp;index)))\r\n```</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbCommentBody</name><value>null</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbGhRepository</name><value>iovisor/bcc</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbCredentialsId</name><value>6d3daf13-69b8-48b1-9c8f-ec5353264113</value></parameter></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><description>&lt;a title="Allow the use of custom keys in BPF_HASH_OF_MAPS" href="https://github.com/iovisor/bcc/pull/3500"&gt;PR #3500&lt;/a&gt;: Allow the use of custom key...</description><displayName>#1048</displayName><duration>1219437</duration><estimatedDuration>7460664</estimatedDuration><fullDisplayName>bcc-pr #1048</fullDisplayName><id>1048</id><keepLog>false</keepLog><number>1048</number><queueId>8386</queueId><result>SUCCESS</result><timestamp>1624336635740</timestamp><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/1048/</url><builtOn></builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><kind>git</kind></changeSet><run><number>1048</number><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc25/1048/</url></run><run><number>1048</number><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc26/1048/</url></run><run><number>1048</number><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc27/1048/</url></run><run><number>1048</number><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=fc28/1048/</url></run><run><number>1048</number><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=ubuntu1604/1048/</url></run><run><number>1048</number><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=ubuntu1710/1048/</url></run><run><number>1048</number><url>https://buildbot.iovisor.org/jenkins/user/jmarchan/my-views/view/all/job/bcc-pr/label=ubuntu1804/1048/</url></run></matrixBuild>