</pre>
<div class="tip">
<p>
<span class="t">Tip:</span>You can avoid using <code>sudo</code> in
the previous and following commands if your user is a member of the
</pre>
<div class="tip">
<p>
<span class="t">Tip:</span>You can avoid using <code>sudo</code> in
the previous and following commands if your user is a member of the
Let's now enable some events for this session:
<pre class="term">
sudo lttng enable-event --kernel sched_switch,sched_process_fork
</pre>
Let's now enable some events for this session:
<pre class="term">
sudo lttng enable-event --kernel sched_switch,sched_process_fork
</pre>
What's next? Have a look at
[Viewing and analyzing your traces](#doc-viewing-and-analyzing-your-traces)
What's next? Have a look at
[Viewing and analyzing your traces](#doc-viewing-and-analyzing-your-traces)