mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Dist and install udev rule.
2005-12-20 Kristian Høgsberg <krh@redhat.com> * Makefile.am: Dist and install udev rule. * collector.c: (open_fd): * sysprof-text.c: (no_module): * sysprof.c: (on_start_toggled): Update device filename. * 60-sysprof.rules: New udev rule file to set permissions for sysprof char device. * module/sysprof-module.c: Switch kernel module to use a misc char device instead. Start and stop the timer on device open and close instead of module load and unload.
This commit is contained in:
committed by
Kristian Høgsberg
parent
c1f411c356
commit
ad5ffd749b
@ -27,6 +27,7 @@
|
||||
#include "treeviewutils.h"
|
||||
#include "profile.h"
|
||||
#include "collector.h"
|
||||
#include "module/sysprof-module.h"
|
||||
|
||||
/* FIXME - not10 */
|
||||
#define _(a) a
|
||||
@ -366,7 +367,7 @@ on_start_toggled (GtkWidget *widget, gpointer data)
|
||||
{
|
||||
/* FIXME: get the real error message */
|
||||
sorry (app->main_window,
|
||||
"Can't open /proc/sysprof-trace. You need to insert\n"
|
||||
"Can't open " SYSPROF_FILE ". You need to insert\n"
|
||||
"the sysprof kernel module. Run\n"
|
||||
"\n"
|
||||
" modprobe sysprof-module\n"
|
||||
|
||||
Reference in New Issue
Block a user