public inbox for systemtap-cvs@sourceware.org help / color / mirror / Atom feed
From: cmeek@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-304-g74e6cc9 Date: Thu, 13 Oct 2011 17:29:00 -0000 [thread overview] Message-ID: <20111013172916.7981.qmail@sourceware.org> (raw) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, master has been updated via 74e6cc9211718bb872b0027ea63469d5e499dd05 (commit) from 59218439d0e4dde4a9ccf289629099eed8c4f3ca (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 74e6cc9211718bb872b0027ea63469d5e499dd05 Author: Chris Meek <cmeek@redhat.com> Date: Thu Oct 13 13:04:54 2011 -0400 PR13261: Added map->wrap mode to script parser To activate map->wrap mode, use the '%' symbol after the variable name in a global declaration, for example: global foo%[100] This will let it automatically replace elements in the map if you try to place something out of bounds, rather than give an error. It also works for statistics-valued arrays. parse.cxx Checked for the '%' symbol in parser::parse_global(), and if present, sets the vardecl* d->wrap value to true. staptree.cxx Set the default value of the new vardecl->wrap boolean value to false. Added the '%' to the hash if it is enabled. staptree.h Added the bool wrap element to struct vardecl translate.cxx Added the bool wrap element to struct mapvar and initialixed it to the wrap element of the associated vardecl variable. Checked whether the mapvar->wrap has been set (from vardecl->wrap set in parser::parse_global()). If so, added the apropriate code to set the map->wrap for whether its a map or a pmap. ----------------------------------------------------------------------- Summary of changes: parse.cxx | 7 +++++++ staptree.cxx | 6 +++++- staptree.h | 1 + translate.cxx | 14 +++++++++++--- 4 files changed, 24 insertions(+), 4 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool
reply other threads:[~2011-10-13 17:29 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20111013172916.7981.qmail@sourceware.org \ --to=cmeek@sourceware.org \ --cc=systemtap-cvs@sourceware.org \ --cc=systemtap@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).