Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • lib
  • dynamic_debug.c
Find file BlameHistoryPermalink
  • Jim Cromie's avatar
    dynamic_debug: enlarge command/query write buffer · 7281491c
    Jim Cromie authored Dec 19, 2011
    
    
    Current query write buffer is 256 bytes, on stack.  In comparison, the
    ddebug_query boot-arg is 1024.  Allocate the buffer off heap, and
    enlarge it to 4096 bytes, big enough for ~100 queries (at 40 bytes
    each), and error out if not.  This makes it play nicely with large
    query sets (to be added later).  The buffer should be enough for most
    uses, and others should probably be split into subsets.
    
    [jbaron@redhat.com: changed USER_BUF_PAGE from 4095 -> 4096 ]
    Signed-off-by: default avatarJim Cromie <jim.cromie@gmail.com>
    Signed-off-by: default avatarJason Baron <jbaron@redhat.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    7281491c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7