<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/perf/util/db-export.c, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-07-10T15:35:38Z</updated>
<entry>
<title>perf db-export: Export switch events</title>
<updated>2019-07-10T15:35:38Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=abde8722d9b0a317935506d9824e26f1aef6c24a'/>
<id>urn:sha1:abde8722d9b0a317935506d9824e26f1aef6c24a</id>
<content type='text'>
Export details of switch events including the threads and their current
comms.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-20-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Factor out db_export__threads()</title>
<updated>2019-07-10T15:35:18Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3694e6c0a05383891546c6e3cdef8659d50b653'/>
<id>urn:sha1:b3694e6c0a05383891546c6e3cdef8659d50b653</id>
<content type='text'>
In preparation for exporting switch events, factor out
db_export__threads().

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-19-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Also export thread's current comm</title>
<updated>2019-07-10T15:14:07Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4650c7bed79582c74452d284e45d5b76987c0ef3'/>
<id>urn:sha1:4650c7bed79582c74452d284e45d5b76987c0ef3</id>
<content type='text'>
Currently, the initial comm of the main thread is exported. Export also
a thread's current comm. That better supports the tracing of
multi-threaded applications that set different comms for different
threads to make it easier to distinguish them.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-13-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Factor out db_export__comm()</title>
<updated>2019-07-10T15:13:51Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:58:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80859c947a1eb170927d03e713abf7550a3d8766'/>
<id>urn:sha1:80859c947a1eb170927d03e713abf7550a3d8766</id>
<content type='text'>
In preparation for exporting the current comm for a thread, factor out
db_export__comm().

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-12-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Export comm details</title>
<updated>2019-07-10T15:13:08Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50'/>
<id>urn:sha1:8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50</id>
<content type='text'>
In preparation for exporting the current comm for a thread, export comm
thread id, start time and exec flag.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-9-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Fix a white space issue in db_export__sample()</title>
<updated>2019-07-10T15:12:56Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5defb2f3984e0f056e4113b54c461782796c7be'/>
<id>urn:sha1:a5defb2f3984e0f056e4113b54c461782796c7be</id>
<content type='text'>
Fix a white space issue in db_export__sample()

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-8-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Move export__comm_thread into db_export__sample()</title>
<updated>2019-07-10T15:12:45Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:57:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ed119589834e25c130fdaa911ca8b0e3fd1cddf'/>
<id>urn:sha1:1ed119589834e25c130fdaa911ca8b0e3fd1cddf</id>
<content type='text'>
Move call to db_export__comm_thread() from db_export__thread() into
db_export__sample() because it makes the code easier to understand, and
add explanatory comments.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Export comm before exporting thread</title>
<updated>2019-07-10T15:12:25Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6319790bcf825bcc4cd9bf01f01ae404a2fb7da8'/>
<id>urn:sha1:6319790bcf825bcc4cd9bf01f01ae404a2fb7da8</id>
<content type='text'>
Export comm before exporting the non-main thread because
db_export__thread() also exports the comm_thread.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-6-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Export main_thread in db_export__sample()</title>
<updated>2019-07-10T15:12:05Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19207d86940db9dad5f2e0a270a2490f7da451e3'/>
<id>urn:sha1:19207d86940db9dad5f2e0a270a2490f7da451e3</id>
<content type='text'>
Export main_thread in db_export__sample() because it makes the code
easier to understand, and prepares db_export__thread() for further
simplification.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-5-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
<entry>
<title>perf db-export: Pass main_thread to db_export__thread()</title>
<updated>2019-07-10T15:11:04Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2019-07-10T08:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed5c0a16feb9f1a4347f109d5e9607f6f38688a0'/>
<id>urn:sha1:ed5c0a16feb9f1a4347f109d5e9607f6f38688a0</id>
<content type='text'>
Calls to db_export__thread() already have main_thread so there is no
reason to get it again, instead pass it as a parameter. Note that one
difference in this approach is that the main thread is not created if it
does not exist. It is better if it is not created because:

   - If main_thread is being traced it will have been created already.

   - If it is not being traced, there will be no other information about
     it, and it will never get deleted because there will be no EXIT event.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Cc: Jiri Olsa &lt;jolsa@redhat.com&gt;
Link: http://lkml.kernel.org/r/20190710085810.1650-4-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
</content>
</entry>
</feed>
