Displaying 15 results from an estimated 15 matches for "perf_event_open".
2017 Mar 20
2
Get PID of a domain's QEMU instance from its domain ID
...cannot find a way to retrieve PIDs of QEMU instances from libvirt domains'
IDs (I'm using libvirt C API). I recognize it sounds like a bad idea doing so
(and I know PIDs are explicitly made not available, as I gathered from the
source code and on your IRC channel) but I need that to use the perf_event_open
syscall in order to gather statistics on my QEMU/KVM guests. I also know
libvirt now supports some perf events but only a few and I need more. I could
submit patches to add them and I will definitely consider that but in the
meantime...
What would be the best way to get those PIDs? I tried using t...
2017 Mar 21
1
Re: Get PID of a domain's QEMU instance from its domain ID
...PIDs of QEMU instances from libvirt domains'
> > IDs (I'm using libvirt C API). I recognize it sounds like a bad idea doing so
> > (and I know PIDs are explicitly made not available, as I gathered from the
> > source code and on your IRC channel) but I need that to use the perf_event_open
> > syscall in order to gather statistics on my QEMU/KVM guests. I also know
> > libvirt now supports some perf events but only a few and I need more. I could
> > submit patches to add them and I will definitely consider that but in the
> > meantime...
Looks like you are lo...
2017 Mar 21
0
Re: Get PID of a domain's QEMU instance from its domain ID
...a way to retrieve PIDs of QEMU instances from libvirt domains'
>IDs (I'm using libvirt C API). I recognize it sounds like a bad idea doing so
>(and I know PIDs are explicitly made not available, as I gathered from the
>source code and on your IRC channel) but I need that to use the perf_event_open
>syscall in order to gather statistics on my QEMU/KVM guests. I also know
>libvirt now supports some perf events but only a few and I need more. I could
>submit patches to add them and I will definitely consider that but in the
>meantime...
>
>What would be the best way to get tho...
2013 May 15
3
CVE-2013-2094 and CentOS 6.x
For those who don't know yet here is the redhat bugzilla on this exploit.
https://bugzilla.redhat.com/show_bug.cgi?id=962792
Does anyone know if CentOS 6 have the debug packages available to apply the temp patch for this listed in the bugzilla link?
David.
2016 Jul 09
4
Option configure
Hello,
Am 09.07.2016 um 09:14 schrieb Rowland penny:
>> What is the purpose of the option
>> *
>> **--with-**systemd**
>> ****Enable****systemd****integration*
>>
>> To configure Samba (build).
>>
>
> It is there so that there is also the '--without-systemd' option.
>
> one turns on systemd integration, the other (thank your deity)
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...('flags', ctypes.c_uint64),
+ ('wakeup_events', ctypes.c_uint32),
+ ('bp_type', ctypes.c_uint32),
+ ('bp_addr', ctypes.c_uint64),
+ ('bp_len', ctypes.c_uint64),
+ ]
+def _perf_event_open(attr, pid, cpu, group_fd, flags):
+ return syscall(298, ctypes.pointer(attr), ctypes.c_int(pid),
+ ctypes.c_int(cpu), ctypes.c_int(group_fd),
+ ctypes.c_long(flags))
+
+PERF_TYPE_HARDWARE = 0
+PERF_TYPE_SOFTWARE = 1
+PERF_TYPE_TRACEPO...
2016 Jul 09
4
Option configure
...HROOT
SystemCallFilter=~acct modify_ldt add_key adjtimex clock_adjtime
delete_module fanotify_init finit_module get_mempolicy init_module
io_destroy io_getevents iopl ioperm io_setup io_submit io_cancel kcmp
kexec_load keyctl lookup_dcookie mbind migrate_pages mount move_pages
open_by_handle_at perf_event_open pivot_root process_vm_readv
process_vm_writev ptrace remap_file_pages request_key set_mempolicy
swapoff swapon umount2 uselib vmsplice
ReadOnlyDirectories=/etc
ReadOnlyDirectories=/usr
ReadOnlyDirectories=/var/lib
ReadWriteDirectories=/var/lib/samba
-------------- next part --------------
A non-...
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
vhost: basic tracepoints
tools: virtio: add a
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
vhost: basic tracepoints
tools: virtio: add a
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of
tracepoints. So to help in vhost{net} debugging and performance
analyzing, the following series adding basic tracepoints to
vhost. Operations of both vhost and vhost_net were traced in current
implementation.
A top-like satistics displaying script were introduced to help the
troubleshooting:
vhost statistics
vhost_virtio_update_used_idx
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of
tracepoints. So to help in vhost{net} debugging and performance
analyzing, the following series adding basic tracepoints to
vhost. Operations of both vhost and vhost_net were traced in current
implementation.
A top-like satistics displaying script were introduced to help the
troubleshooting:
vhost statistics
vhost_virtio_update_used_idx
2020 Feb 07
11
[PATCH 0/6] drm: Provide a simple encoder
Many DRM drivers implement an encoder with an empty implementation. This
patchset adds drm_simple_encoder_init() and drm_simple_encoder_create(),
which can be used by drivers instead. Except for the destroy callback, the
simple encoder's implementation is empty.
The patchset also converts 4 encoder instances to use the simple-encoder
helpers. But there are at least 11 other drivers which can
2018 Jan 22
1
Samba 4.7 don't start on F27
...HROOT
SystemCallFilter=~acct modify_ldt add_key adjtimex clock_adjtime
delete_module fanotify_init finit_module get_mempolicy init_module
io_destroy io_getevents iopl ioperm io_setup io_submit io_cancel kcmp
kexec_load keyctl lookup_dcookie mbind migrate_pages mount move_pages
open_by_handle_at perf_event_open pivot_root process_vm_readv
process_vm_writev ptrace remap_file_pages request_key set_mempolicy
swapoff swapon umount2 uselib vmsplice
ReadOnlyDirectories=/etc
ReadOnlyDirectories=/usr
ReadOnlyDirectories=/var/lib
ReadWriteDirectories=/var/lib/samba
ReadWriteDirectories=/usr/local
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...SYSCALL FOUND: sysinfo
SYSCALL FOUND: utime
SYSCALL FOUND: poll
SYSCALL FOUND: inotify_add_watch
SYSCALL FOUND: mq_timedsend
SYSCALL FOUND: prlimit64
SYSCALL FOUND: timerfd_gettime
SYSCALL FOUND: ioctl
SYSCALL FOUND: removexattr
SYSCALL FOUND: inotify_init1
SYSCALL FOUND: nfsservctl
SYSCALL FOUND: perf_event_open
SYSCALL FOUND: io_destroy
SYSCALL FOUND: prctl
SYSCALL FOUND: rt_sigpending
SYSCALL FOUND: rtas
SYSCALL FOUND: fcntl64
SYSCALL FOUND: mq_notify
SYSCALL FOUND: pwritev
SYSCALL FOUND: quotactl
SYSCALL FOUND: epoll_ctl
SYSCALL FOUND: tuxcall
SYSCALL FOUND: setresuid
SYSCALL FOUND: mincore
SYSCALL FOUN...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >
> Find attached two patches I have in order to build klibc 2.0.2
> against kernel 3.8.13
> We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> Hope it helps.
>
those patches are wrong and again very brittle.
just use the way it is described in `make help':
A) cd ~/src/linux