GitHub PushEvent at 2014-10-19 19:14:56
Repository: linux-sunxi
Actor: amery
Payload: {"shas":[["fe636adda6caff6022e61b37202495dbf68e1410","2c6594f608aa3d41e98d48846a6328831f7084ad@kernel.org","perf kvm stat live: Fix perf_evlist__add_pollfd error handling\n\nWith the interface changed in following commit:\n\n  2171a9256862 tools lib fd array: Allow associating an integer cookie with each entry\n\nthe perf_evlist__add_pollfd function now returns the fd position in the\npollfd array.\n\nWe need to change this function's error check condition.\n\nSigned-off-by: Jiri Olsa <jolsa@kernel.org>\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Corey Ashford <cjashfor@linux.vnet.ibm.com>\nCc: David Ahern <dsahern@gmail.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Ingo Molnar <mingo@kernel.org>\nCc: Milian Wolff <mail@milianw.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <a.p.zijlstra@chello.nl>\nLink: http://lkml.kernel.org/r/1412179229-19466-3-git-send-email-jolsa@kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Jiri Olsa",true],["0cae013cf4450ea0ecb62241a2f3e7565db09f93","2c6594f608aa3d41e98d48846a6328831f7084ad@kernel.org","perf kvm stat live: Use perf_evlist__add_pollfd return fd position\n\nWith the interface changed in following commit:\n\n  2171a9256862 tools lib fd array: Allow associating an integer cookie with each entry\n\nthe perf_evlist__add_pollfd function now returns the fd position in the\npollfd array.\n\nHence we no longer need to count the fd position, because we get it as\nthe return value.\n\nSigned-off-by: Jiri Olsa <jolsa@kernel.org>\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Corey Ashford <cjashfor@linux.vnet.ibm.com>\nCc: David Ahern <dsahern@gmail.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Ingo Molnar <mingo@kernel.org>\nCc: Milian Wolff <mail@milianw.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <a.p.zijlstra@chello.nl>\nLink: http://lkml.kernel.org/r/1412179229-19466-4-git-send-email-jolsa@kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Jiri Olsa",true],["1ca72260e471a8b03f03fe9a6547deb088710042","2c6594f608aa3d41e98d48846a6328831f7084ad@kernel.org","perf kvm stat live: Use fdarray object instead of pollfd\n\nThe reason is that we don't need to count the number of file descriptors\nbecause it's already handled in fdarray object.\n\nSigned-off-by: Jiri Olsa <jolsa@kernel.org>\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Corey Ashford <cjashfor@linux.vnet.ibm.com>\nCc: David Ahern <dsahern@gmail.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Ingo Molnar <mingo@kernel.org>\nCc: Milian Wolff <mail@milianw.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <a.p.zijlstra@chello.nl>\nLink: http://lkml.kernel.org/r/1412179229-19466-5-git-send-email-jolsa@kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Jiri Olsa",true],["23aadb1fcda27e79a134ec35a7fb68f243269bcb","2c6594f608aa3d41e98d48846a6328831f7084ad@kernel.org","perf callchain: Move callchain_param to util object in to fix python test\n\nIn following commit we changed the location of callchains data:\n\n  72a128aa083a7f4cc4f800718aaae05d9c698e26\n  perf tools: Move callchain config from record_opts to callchain_param\n\nNow all callchains stuff stays in callchain_param struct, which adds its\ndependency for evsel.c object and breaks python perf.so usage\n(unresolved callchain_param).\n\nMoving callchain_param into callchain.c and adding it into\npython-ext-sources unleash just another dependency hell, so I ended up\nadding callchain_param into util.c for now.\n\nSigned-off-by: Jiri Olsa <jolsa@kernel.org>\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Corey Ashford <cjashfor@linux.vnet.ibm.com>\nCc: David Ahern <dsahern@gmail.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Ingo Molnar <mingo@kernel.org>\nCc: Milian Wolff <mail@milianw.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <a.p.zijlstra@chello.nl>\nLink: http://lkml.kernel.org/r/1412179229-19466-2-git-send-email-jolsa@kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Jiri Olsa",true],["b3f25b6e04495ace0851cf0b88514f41c7807af6","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf sched: Stop updating hists stats, not used\n\nNot used here, remove to reduce perf_evsel/hists structs interaction.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-cb7wkk4a3jpoovzim914ih3c@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["49c23f2d541ebf7ae5e9fff03301f4e7145cc979","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf script: Stop updating hists stats, not used\n\nNot used here, remove to reduce perf_evsel/hists structs interaction.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-zzmoo39yalrl9hzu9nc2xqml@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["4ea062ed431d00153af0ac370cb6fef0620e5fa1","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf evsel: Add hists helper\n\nNot all tools need a hists instance per perf_evsel, so lets pave the way\nto remove evsel->hists while leaving a way to access the hists from a\nspecially allocated evsel, one that comes with space at the end where\nlives the evsel.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-qlktkhe31w4mgtbd84035sr2@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["c2329ade22844054f4dce79fb9358d8f9f0421a5","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf session: Don't count per evsel events\n\nPERF_RECORD_SAMPLE was not being counted here and is the only per-evsel\nthing anyway, the other events were not mapping to a evsel.\n\nWith this we don't require that evsels used with a perf_session need to\nhave space for hists, like the ones in annotate, report, top.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-kzchpz0l1mhrsfpkirz086m2@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["4318bcb70ecc567dd0414d87fcd7e926ce956aab","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf tools: Move events_stats struct to event.h\n\nThis is the only bit of hist.h that session.[ch] will end up using, so\nmove it out of hist.h to make that abundantly clear.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-l9ftsl21ggw0c1g2ig87otmd@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["95e8d97e9b78040285defe482e1edf8b6341a4c1","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf ui browsers: Add missing include\n\nThis file needs the K_{RIGHT,etc} definitions but isn't including the\nfile where they are defined, ui/keysyms.h, fix it.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-jlpybqegpdauzx64l9r1jgm3@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["2a1731fb85ec96a1f6a326fb2d52cd93494dafa2","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf session: Remove last reference to hists struct\n\nNow perf_session doesn't require that the evsels in its evlist are hists\ncontaining ones.\n\nTools that are hists based and want to do per evsel events_stats\nupdates, if at some point this turns into a necessity, should do it in\nthe tool specific code, keeping the session class hists agnostic.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-cli1bgwpo82mdikuhy3djsuy@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["ce8ccff5dd6b87dfe3495c7e9c5d56169bbacf58","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf evsel: Subclassing\n\nProvide a method to be called at tool start to config the perf_evsel\ninstance size, together with optional constructor and destructor.\n\nThis will be used so that perf_evsel doesn't always include a struct\nhists, tools that works with hists/hist_entries, like report, top and\nannotate, will, at start, tell the evsel class the size they need per\ninstance.\n\nv2: Don't use exit as a name of a member of function parameter, as this\n    breaks the build on at least fedora14 and rhel6.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-7t8cay0ieryox4gqosie85ek@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["8f651eae186f4dfb1740988623c83ba03dcf3a76","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf callchain: Move the callchain_param extern to callchain.h\n\nIt was lost in hist.h, move it to where it belongs, callchain.h, as\nthere are places that gets hist.h by means of evsel.h, and since evsel.h\nis being untangled from hist.h...\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-0rg7ji1jnbm6q6gj35j37jby@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["a635fc511e05774298153e3ddfef7c4cd51a1bb4","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf tools: Remove hists from evsel\n\nNow tools that deals want to have an hists per evsel need to call\nhists__init() before creating any evsels, which can be as early as when\nparsing the command line, so do it before calling parse_options().\n\nThe current tools using hists/hist_entries are report, top and annotate,\nchange them to request per evsel hists.\n\nThis is in preparation for making evsels usable by 3rd party tools, that\nnot necessarily live in perf's source code repository.\n\nAcked-by: Borislav Petkov <bp@suse.de>\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-usjx2la743f10ippj7p1b20x@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["641556c98c821922a9a2121247b5fa25e4407d11","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf thread_map: Create dummy constructor out of open coded equivalent\n\nCreate a dummy thread_map, one that has just one entry and it is -1,\nmeaning 'all threads', as this ends up going down to perf_event_open().\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-8av26cz8uxmbnihl5mmrygp9@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["1aaf63b1ee912abd7675681f9d6ffaaf2ffc0451","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf evlist: Check that there is a thread_map when preparing a workload\n\nThe perf_evlist__prepare_workload expects a thread map to be in place\nso that it can store the pid of the workload being started, so check it\nand tell the developer about it instead of segfaulting.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-jvlz2f264e7kpmhjmwltikqw@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["4112eb1899c0e711b2ab1491f51215359cf94d74","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf evlist: Default to syswide target when no thread/cpu maps set\n\nIf all a tool wants is to do system wide event monitoring, there is no\nmore the need to setup thread_map and cpu_map objects, just call\nperf_evlist__open() and it will do create one fd per CPU monitoring all\nthreads.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-poovolkigu72brx4783uq4cf@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["80b2210c623dc47e0847816989dd647738e4fb94","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf evsel: Add missing 'target' struct forward declaration\n\nWe use it in evsel.h but were getting it indirectly, fix it.\n\nNoticed while working on having evsel.h usable by rasd.c.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-94t3jvw4tmzrq3dnovvpl65e@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["8885846fc4b708f543fe1dd3ef7402417d2d4151","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf evsel: Make some exit routines static\n\nSince they are automatically called by other methods used by tools.\n\nCc: Adrian Hunter <adrian.hunter@intel.com>\nCc: Borislav Petkov <bp@suse.de>\nCc: David Ahern <dsahern@gmail.com>\nCc: Don Zickus <dzickus@redhat.com>\nCc: Frederic Weisbecker <fweisbec@gmail.com>\nCc: Jean Pihet <jean.pihet@linaro.org>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Mike Galbraith <efault@gmx.de>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nLink: http://lkml.kernel.org/n/tip-ne3g4any7q6ty5d6yv8t1wws@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true],["e167f995e26249aa93708589c5eea539652351fa","293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com","perf machine: Add missing dsos->root rbtree root initialization\n\nA segfault happens on 'perf test hists_link' because we end up using a\nstruct machines on the stack, and then machines__init() was not\ninitializing the newly introduced rb_root, just the existing list_head.\n\nWhen we introduced struct dsos, to group the two ways to store dsos,\ni.e. the linked list and the rbtree, we didn't turned the initialization\ndone in:\n\n\tmachines__init(machines->host) ->\n\t\tmachine__init() ->\n\t\t\tINIT_LIST_HEAD\n\ninto a dsos__init() to keep on initializing the list_head but _as well_\ninitializing the rb_root, oops.\n\nAll worked because outside perf-test we probably zalloc the whole thing\nwhich ends up initializing it in to NULL.\n\nSo the problem looks contained to 'perf test' that uses it on stack,\netc.\n\nReported-by: Jiri Olsa <jolsa@redhat.com>\nAcked-by: Waiman Long <Waiman.Long@hp.com>,\nCc: Adrian Hunter <adrian.hunter@intel.com>,\nCc: Don Zickus <dzickus@redhat.com>\nCc: Douglas Hatch <doug.hatch@hp.com>\nCc: Ingo Molnar <mingo@redhat.com>\nCc: Jiri Olsa <jolsa@kernel.org>\nCc: Namhyung Kim <namhyung@kernel.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Scott J Norton <scott.norton@hp.com>\nCc: Waiman Long <Waiman.Long@hp.com>,\nLink: http://lkml.kernel.org/r/20141014180353.GF3198@kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>","Arnaldo Carvalho de Melo",true]],"size":58,"ref":"refs/heads/mirror/master","head":"1f6075f99073a8b5ec9649ae8c0bf2e06fdd42f1"}