search for: run_ag

Displaying 3 results from an estimated 3 matches for "run_ag".

Did you mean: run_av
2004 Feb 27
0
hotplug for klibc utils
...#include <dirent.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/types.h> +#include <sys/wait.h> +#include <unistd.h> + +#define HOTPLUGDIR "/etc/hotplug.d" +#define SUFFIX ".hotplug" + +static inline void run_agent(char *name, char *parm) +{ + pid_t pid; + + if (strlen(name) < sizeof (SUFFIX)) + return; + + if (strcmp(name + strlen(name) - sizeof (".hotplug") + 1, ".hotplug") != 0) + return; + + pid = fork(); + + if (pid < 0) { + perror("fork"); + return; + } + + i...
2012 Aug 22
5
[PATCH 0/5] trace-cmd: Add a recorder readable feature for virtio-trace
Hi Steven, The following patch set provides a feature which can read trace data of a guest using virtio-trace (https://lkml.org/lkml/2012/8/9/210) for a recorder function of trace-cmd. This patch set depends on the trace-agent running on a guest in the virtio-trace system. To translate raw data of a guest to text data on a host, information of debugfs in the guest is also needed on the host. In
2012 Aug 22
5
[PATCH 0/5] trace-cmd: Add a recorder readable feature for virtio-trace
Hi Steven, The following patch set provides a feature which can read trace data of a guest using virtio-trace (https://lkml.org/lkml/2012/8/9/210) for a recorder function of trace-cmd. This patch set depends on the trace-agent running on a guest in the virtio-trace system. To translate raw data of a guest to text data on a host, information of debugfs in the guest is also needed on the host. In