From: Tom Zanussi Date: Tue, 15 Dec 2009 08:53:35 +0000 (-0600) Subject: perf trace/scripting: Add support for script args X-Git-Tag: v2.6.33-rc1~48^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=586bc5cce88be993dad584c3936c49f945368551;p=pandora-kernel.git perf trace/scripting: Add support for script args One oversight of the original scripting_ops patch was a lack of support for passing args to handler scripts. This adds argc/argv to the start_script() scripting_op, and changes the rw-by-file script to take 'comm' arg rather than the 'perf' value currently hard-coded. It also takes the opportunity to do some related minor cleanup. Signed-off-by: Tom Zanussi Cc: fweisbec@gmail.com Cc: rostedt@goodmis.org LKML-Reference: <1260867220-15699-2-git-send-email-tzanussi@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed