<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/perf/util/string.h, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-12-15T19:22:03Z</updated>
<entry>
<title>perf probe: Add glob matching support on --del</title>
<updated>2009-12-15T19:22:03Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2009-12-15T15:32:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bbbb521bc61008b280c72ad6e29a8a7558d3acfa'/>
<id>urn:sha1:bbbb521bc61008b280c72ad6e29a8a7558d3acfa</id>
<content type='text'>
Add glob-expression matching support on --del option.
You can use wildcards for specifying deleting events.
e.g.

 Clear all probe events:

 # perf probe --del '*'

 Clear probes on schedule():

 # perf probe --del 'schedule*'

Signed-off-by: Masami Hiramatsu &lt;mhiramat@redhat.com&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Jim Keniston &lt;jkenisto@us.ibm.com&gt;
Cc: Ananth N Mavinakayanahalli &lt;ananth@in.ibm.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Frank Ch. Eigler &lt;fche@redhat.com&gt;
Cc: Jason Baron &lt;jbaron@redhat.com&gt;
Cc: K.Prasad &lt;prasad@linux.vnet.ibm.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Srikar Dronamraju &lt;srikar@linux.vnet.ibm.com&gt;
Cc: systemtap &lt;systemtap@sources.redhat.com&gt;
Cc: DLE &lt;dle-develop@lists.sourceforge.net&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
LKML-Reference: &lt;20091215153210.17436.12327.stgit@dhcp-100-2-132.bos.redhat.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf probe: Add argv_split() from lib/argv_split.c</title>
<updated>2009-12-01T07:20:02Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2009-12-01T00:20:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1c01d61a98703fcc80d15b8068ec36d5a215f7e'/>
<id>urn:sha1:e1c01d61a98703fcc80d15b8068ec36d5a215f7e</id>
<content type='text'>
Add argv_split() ported from lib/argv_split.c to string.c and
use it in util/probe-event.c.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@redhat.com&gt;
Cc: systemtap &lt;systemtap@sources.redhat.com&gt;
Cc: DLE &lt;dle-develop@lists.sourceforge.net&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Jim Keniston &lt;jkenisto@us.ibm.com&gt;
Cc: Ananth N Mavinakayanahalli &lt;ananth@in.ibm.com&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
Cc: Frank Ch. Eigler &lt;fche@redhat.com&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: Jason Baron &lt;jbaron@redhat.com&gt;
Cc: K.Prasad &lt;prasad@linux.vnet.ibm.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Srikar Dronamraju &lt;srikar@linux.vnet.ibm.com&gt;
Cc: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
LKML-Reference: &lt;20091201002005.10235.55602.stgit@harusame&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf tools: Add new perf_atoll() function to parse string representing size in bytes</title>
<updated>2009-11-15T13:54:23Z</updated>
<author>
<name>Hitoshi Mitake</name>
</author>
<published>2009-11-15T11:36:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2fb8b4151a92223da6a84006f8f248ebeb6677d'/>
<id>urn:sha1:d2fb8b4151a92223da6a84006f8f248ebeb6677d</id>
<content type='text'>
This patch modifies util/string.[ch] to add new function:
perf_atoll() to parse string representing size in bytes.

This function parses (\d+)(b|B|kb|KB|mb|MB|gb|GB) (e.g. "256MB")
and returns its numeric value. (e.g. 268435456)

Signed-off-by: Hitoshi Mitake &lt;mitake@dcl.info.waseda.ac.jp&gt;
Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
LKML-Reference: &lt;1258285013-4759-1-git-send-email-mitake@dcl.info.waseda.ac.jp&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf tools: /proc/modules names don't always match its name</title>
<updated>2009-10-05T18:35:23Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
</author>
<published>2009-10-05T17:26:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2a99e8e12798706ec1026e5d8fc36f7c86122ce'/>
<id>urn:sha1:a2a99e8e12798706ec1026e5d8fc36f7c86122ce</id>
<content type='text'>
$ cut -d' ' -f1 /proc/modules|grep _|wc -l
 29
 $ cut -d' ' -f1 /proc/modules|grep _|sed 's/$/.ko'/g|while read n;do find /lib/modules/`uname -r` -name $n;done|wc -l
 12

For instance:

 $ grep ^aes_x86 /proc/modules
 aes_x86_64 9056 2 - Live 0xffffffffa0091000
 $ l /lib/modules/2.6.31-tip/kernel/arch/x86/crypto/aes-x86_64.ko
 -rw-r--r-- 1 root root 136438 2009-09-22 19:05 /lib/modules/2.6.31-tip/kernel/arch/x86/crypto/aes-x86_64.ko

Handle that by introducing a strxfrchar routine that replaces
dashes with underscores when matching file names to loaded modules.

Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Cc: Frédéric Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Mike Galbraith &lt;efault@gmx.de&gt;
LKML-Reference: &lt;new-submission&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf tools: Protect header files with a consistent style</title>
<updated>2009-09-24T19:27:51Z</updated>
<author>
<name>John Kacur</name>
</author>
<published>2009-09-24T16:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b40f521cf1c9750eab0c04da9075e7484675e9c'/>
<id>urn:sha1:8b40f521cf1c9750eab0c04da9075e7484675e9c</id>
<content type='text'>
There was a colorful mix of header guards - standardize them.

Signed-off-by: John Kacur &lt;jkacur@redhat.com&gt;
LKML-Reference: &lt;alpine.LFD.2.00.0909241756530.11383@localhost.localdomain&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf_counter: Detect debugfs location</title>
<updated>2009-07-22T16:05:57Z</updated>
<author>
<name>Jason Baron</name>
</author>
<published>2009-07-21T18:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5beeded123c5befa21f1c6e16219f2a3eb7dd197'/>
<id>urn:sha1:5beeded123c5befa21f1c6e16219f2a3eb7dd197</id>
<content type='text'>
If "/sys/kernel/debug" is not a debugfs mount point, search for the debugfs
filesystem in /proc/mounts, but also allows the user to specify
'--debugfs-dir=blah' or set the environment variable: 'PERF_DEBUGFS_DIR'

Signed-off-by: Jason Baron &lt;jbaron@redhat.com&gt;
[ also made it probe "/debug" by default ]
Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
LKML-Reference: &lt;20090721181629.GA3094@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf_counter tools: Rework the file format</title>
<updated>2009-06-25T19:39:04Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2009-06-25T15:05:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c6a1c65bbd3be688e581511f45818663efc1877'/>
<id>urn:sha1:7c6a1c65bbd3be688e581511f45818663efc1877</id>
<content type='text'>
Create a structured file format that includes the full
perf_counter_attr and all its relevant counter IDs so that
the reporting program has full information.

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
LKML-Reference: &lt;new-submission&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf_counter tools: Define and use our own u64, s64 etc. definitions</title>
<updated>2009-06-19T16:25:47Z</updated>
<author>
<name>Paul Mackerras</name>
</author>
<published>2009-06-19T12:21:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cffa8d53335d891cc0ecb3824a67118b3ee4b2f'/>
<id>urn:sha1:9cffa8d53335d891cc0ecb3824a67118b3ee4b2f</id>
<content type='text'>
On 64-bit powerpc, __u64 is defined to be unsigned long rather than
unsigned long long.  This causes compiler warnings every time we
print a __u64 value with %Lx.

Rather than changing __u64, we define our own u64 to be unsigned long
long on all architectures, and similarly s64 as signed long long.
For consistency we also define u32, s32, u16, s16, u8 and s8.  These
definitions are put in a new header, types.h, because these definitions
are needed in util/string.h and util/symbol.h.

The main change here is the mechanical change of __[us]{64,32,16,8}
to remove the "__".  The other changes are:

* Create types.h
* Include types.h in perf.h, util/string.h and util/symbol.h
* Add types.h to the LIB_H definition in Makefile
* Added (u64) casts in process_overflow_event() and print_sym_table()
  to kill two remaining warnings.

Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
Acked-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: benh@kernel.crashing.org
LKML-Reference: &lt;19003.33494.495844.956580@cargo.ozlabs.ibm.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/</title>
<updated>2009-06-06T18:33:43Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2009-06-06T18:33:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=864709302a80f26fa9da3be5b47304f0b8bae192'/>
<id>urn:sha1:864709302a80f26fa9da3be5b47304f0b8bae192</id>
<content type='text'>
Several people have suggested that 'perf' has become a full-fledged
tool that should be moved out of Documentation/. Move it to the
(new) tools/ directory.

Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: Mike Galbraith &lt;efault@gmx.de&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
LKML-Reference: &lt;new-submission&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
