{"push_id":598259079,"size":1000,"distinct_size":24183,"ref":"refs/heads/sparse-aware-pagecache","head":"0dd60b5ddabebe832b3848aff4803d391c721c47","before":"f3388590061467521e4e871c0c5185565f64e5d3","commits":[{"sha":"7f994963745b9cea89a2816dae7cc3a1fc01adcc","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add get_target_endianness helper\n\nParse the target endianness from the output of \"show endian\" and cache the\nresult to return it via the new helper get_target_endiannes.  We will need\nit for reading integers from buffers that contain target memory.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/7f994963745b9cea89a2816dae7cc3a1fc01adcc"},{"sha":"78e878172327b1b6aa6264b1d22f9a083f9ddaa6","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add read_u16/32/64 helpers\n\nAdd helpers for reading integers from target memory buffers.  Required\nwhen caching the memory access is more efficient than reading individual\nvalues via gdb.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/78e878172327b1b6aa6264b1d22f9a083f9ddaa6"},{"sha":"ae7dbaad23f0346dc4e2476be63a9a5a376ee472","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add lx-dmesg command\n\nThis pokes into the log buffer of the debugged kernel, dumping it to the\ngdb console.  Helping in case the target should or can no longer execute\ndmesg itself.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Kay Sievers <kay@vrfy.org>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/ae7dbaad23f0346dc4e2476be63a9a5a376ee472"},{"sha":"7704d58a8509c65e3f7e4407ca2e5fa6360349c1","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add task iteration class\n\nThis class allows to iterate over all tasks of the target.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/7704d58a8509c65e3f7e4407ca2e5fa6360349c1"},{"sha":"4752871081ba4fbb3c539488a95e77d8011bfe49","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add helper and convenience function to look up tasks\n\nAdd the helper task_by_pid that can look up a task by its PID.  Also\nexport it as a convenience function.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/4752871081ba4fbb3c539488a95e77d8011bfe49"},{"sha":"b24e2d21ac6efd23a67652870fac0cfb943d2264","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add is_target_arch helper\n\nThis helper caches to result of \"show architecture\" and matches the\nprovided arch (sub-)string against that output.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/b24e2d21ac6efd23a67652870fac0cfb943d2264"},{"sha":"cf7492e933c0df200f8fa46c3684e8bd20890ab2","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add internal helper and convenience function to retrieve thread_info\n\nAdd the internal helper get_thread_info that calculates the thread_info\nfrom a given task variable.  Also export this service as a convenience\nfunction.\n\nNote: ia64 version is untested.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Tony Luck <tony.luck@intel.com>\nCc: Fenghua Yu <fenghua.yu@intel.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/cf7492e933c0df200f8fa46c3684e8bd20890ab2"},{"sha":"a4d86792c78d23257ab8ddd29ca16ce597361403","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add get_gdbserver_type helper\n\nThis helper probes the type of the gdb server.  Supported are QEMU and\nKGDB so far.  Knowledge about the gdb server is required e.g.  to\nretrieve the current CPU or current task.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/a4d86792c78d23257ab8ddd29ca16ce597361403"},{"sha":"fe7f9ed98dad611ceaf17403f1c5bfd016eadcaa","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add internal helper and convenience function for per-cpu lookup\n\nThis function allows to obtain a per-cpu variable, either of the current\nor an explicitly specified CPU.\n\nNote: sparc64 version is untested.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: \"David S. Miller\" <davem@davemloft.net>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/fe7f9ed98dad611ceaf17403f1c5bfd016eadcaa"},{"sha":"116b47b4da037547585cebe4e3275ef68905d509","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add lx_current convenience function\n\nThis is a shorthand for *$lx_per_cpu(\"current_task\"), i.e.  a convenience\nfunction to retrieve the currently running task of the active context.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/116b47b4da037547585cebe4e3275ef68905d509"},{"sha":"3d4cd9c94191f60cbb741cfbaa770d442c4680aa","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add class to iterate over CPU masks\n\nWill be used first to count module references.  It is optimized to read\nthe mask only once per stop.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/3d4cd9c94191f60cbb741cfbaa770d442c4680aa"},{"sha":"5403727f985ba39967c899a56fff5bbd2c9a9f36","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add lx-lsmod command\n\nThis adds a lsmod-like command to list all currently loaded modules of the\ntarget.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/5403727f985ba39967c899a56fff5bbd2c9a9f36"},{"sha":"bda1a921670e60d4c9aafb50f0b7b4773db66256","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: add basic documentation\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Rob Landley <rob@landley.net>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/bda1a921670e60d4c9aafb50f0b7b4773db66256"},{"sha":"276d97d90a2485f9a830a7a8242e4317b24c896f","author":{"email":"e535422658be3f2992df5dbd01644e0ed2cb741f@gmail.com","name":"Pantelis Koukousoulas"},"message":"scripts/gdb: port to python3 / gdb7.7\n\nI tried to use these scripts in an ubuntu 14.04 host (gdb 7.7 compiled\nagainst python 3.3) but there were several errors.\n\nI believe this patch fixes these issues so that the commands now work (I\ntested lx-symbols, lx-dmesg, lx-lsmod).\n\nMain issues that needed to be resolved:\n\n  * In python 2 iterators have a \"next()\" method. In python 3 it is\n    __next__() instead (so let's just add both).\n\n  * In older python versions there was an implicit conversion\n    in object.__format__() (used when an object is in string.format())\n    where it was converting the object to str first and then\n    calling str's __format__(). This has now been removed so\n    we must explicitly convert to str the objects for which\n    we need to keep this behavior.\n\n  * In dmesg.py: in python 3 log_buf is now a \"memoryview\" object\n    which needs to be converted to a string in order to use string\n    methods like \"splitlines()\". Luckily memoryview exists in\n    python 2.7.6 as well, so we can convert log_buf to memoryview\n    and use the same code in both python 2 and python 3.\n\nThis version of the patch has now been tested with gdb 7.7 and both python\n3.4 and python 2.7.6 (I think asking for at least python 2.7.6 is a\nreasonable requirement instead of complicating the code with version\nchecks etc).\n\nSigned-off-by: Pantelis Koukousoulas <pktoss@gmail.com>\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/276d97d90a2485f9a830a7a8242e4317b24c896f"},{"sha":"2478a8a15ccaddd68e84bb8791cd468f636673e9","author":{"email":"4421c302a8f2019ff02452a16ddbdd37770f814c@linaro.org","name":"Daniel Thompson"},"message":"scripts/gdb: ignore byte-compiled python files\n\nUsing the gdb scripts leaves byte-compiled python files in the scripts/\ndirectory.  These should be ignored by git.\n\n[jan.kiszka@siemens.com: drop redundant mrproper rule as suggested by Michal]\nSigned-off-by: Daniel Thompson <daniel.thompson@linaro.org>\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Michal Marek <mmarek@suse.cz>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/2478a8a15ccaddd68e84bb8791cd468f636673e9"},{"sha":"54e2289a34e13d956acb841a00c3a6f06aced3f9","author":{"email":"53566a40310e7120a373d88c94d924839fd4b1fa@bmw-carit.de","name":"Daniel Wagner"},"message":"scripts/gdb: use a generator instead of iterator for task list\n\nThe iterator does not return any task_struct from the thread_group list\nbecause the first condition in the 'if not t or ...' will only be the\nfirst time None.\n\nInstead of keeping track of the state ourself in the next() function, we\nfall back using Python's generator.\n\nSigned-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/54e2289a34e13d956acb841a00c3a6f06aced3f9"},{"sha":"fffb944c4e6d3882a7a15c494bd4cde36c68c39c","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: convert ModuleList to generator function\n\nAnalogously to the task list, convert the module list to a generator\nfunction.  It noticeably simplifies the code.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/fffb944c4e6d3882a7a15c494bd4cde36c68c39c"},{"sha":"a77e15e8b4ccaf43b3a527cbb882bf816c5a629d","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: convert CpuList to generator function\n\nYet another code simplification.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/a77e15e8b4ccaf43b3a527cbb882bf816c5a629d"},{"sha":"158daf167377dfc49ce6d70f70fd7c6fab2df987","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: define maintainer\n\nI'm proposing myself for keeping an eye on these scripts and integrating\ncontributions.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/158daf167377dfc49ce6d70f70fd7c6fab2df987"},{"sha":"a9c5bcfa43420365535ef42c1ff1e83aa056f25e","author":{"email":"a5b45c9af271d077f30d36aa7d9b988eed9d56eb@siemens.com","name":"Jan Kiszka"},"message":"scripts/gdb: disable pagination while printing from breakpoint handler\n\nWhile reporting the (refreshed) list of modules on automatic updates we\nmay hit the page boundary of the output console and cause a stop if\npagination is enabled.  However, gdb does not accept user input while\nrunning over the breakpoint handler.  So we get stuck, and the user is\nforced to interrupt gdb.\n\nResolve this by disabling pagination during automatic symbol updates.  We\nrestore the user's configuration once done.\n\nSigned-off-by: Jan Kiszka <jan.kiszka@siemens.com>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: Jason Wessel <jason.wessel@windriver.com>\nCc: Andi Kleen <andi@firstfloor.org>\nCc: Ben Widawsky <ben@bwidawsk.net>\nCc: Borislav Petkov <bp@suse.de>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/jcalvinowens/linux/commits/a9c5bcfa43420365535ef42c1ff1e83aa056f25e"}]}