[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git rep
From: |
Ingo Molnar |
Subject: |
Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/ |
Date: |
Thu, 10 Nov 2011 09:14:58 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Alexander Graf <address@hidden> wrote:
> [...]
>
> Outside of the kernel tree, you can do your own decisions. If
> someone thinks it's a great idea to write device emulation in
> python (I would love that!), he could go in and implement it
> without having to worry about Linus possibly rejecting it because
> it's out of scope for a "Linux kernel testing tool". If you want to
> create the greatest GUI for virtualization the world has ever seen,
> you can just do it! Nothing holds you back.
We actually recently added Python bindings to event tracing in perf:
earth5:~/tip> find tools/perf/ -name '*.py'
tools/perf/python/twatch.py
tools/perf/util/setup.py
tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Core.py
tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
tools/perf/scripts/python/syscall-counts.py
tools/perf/scripts/python/sctop.py
tools/perf/scripts/python/sched-migration.py
tools/perf/scripts/python/check-perf-trace.py
tools/perf/scripts/python/futex-contention.py
tools/perf/scripts/python/failed-syscalls-by-pid.py
tools/perf/scripts/python/net_dropmonitor.py
tools/perf/scripts/python/syscall-counts-by-pid.py
tools/perf/scripts/python/netdev-times.py
... and Linus did not object (so far ;-) - nor does he IMHO have many
reasons to object as long as the code is sane and useful. Nor did
Linus object when perf extended its scope from profiling to tracing,
system monitoring, etc.
While i don't talk for Linus, the only 'hard boundary' that Linus
enforces and expects all maintainers to enforce that i'm aware of is
"don't do crazy crap". Everything else is possible as long as it's
high quality and reasonable, with a good upside story that is
relevant to the kernel - you can let your imagination run wild,
there's no artificial barriers that i'm aware of.
Anyway, i have outlined the rough consequences of a user-space
project being inside the kernel repo in this post:
http://lkml.org/lkml/2011/11/10/86
... and they are definitely not trivial and easy to meet.
Thanks,
Ingo
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, (continued)
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Gerd Hoffmann, 2011/11/10
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ingo Molnar, 2011/11/08
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ted Ts'o, 2011/11/08
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Anca Emanuel, 2011/11/08
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ted Ts'o, 2011/11/08
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ingo Molnar, 2011/11/09
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, John Kacur, 2011/11/08
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ingo Molnar, 2011/11/09
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ingo Molnar, 2011/11/09
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Alexander Graf, 2011/11/09
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/,
Ingo Molnar <=
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Steven Rostedt, 2011/11/08
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ingo Molnar, 2011/11/09
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Arnaldo Carvalho de Melo, 2011/11/09
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Américo Wang, 2011/11/09
- Re: [Qemu-devel] [F.A.Q.] the advantages of a shared tool/kernel Git repository, tools/perf/ and tools/kvm/, Ingo Molnar, 2011/11/10
- Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels, Kevin Wolf, 2011/11/07
- Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels, Pekka Enberg, 2011/11/07
- Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels, Kevin Wolf, 2011/11/07
- Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels, Jan Kiszka, 2011/11/06
- Re: [Qemu-devel] [PATCH] KVM: Add wrapper script around QEMU to test kernels, Pekka Enberg, 2011/11/06