Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset f0bdfb7 in mainline


Ignore:
Timestamp:
2010-01-27T20:08:45Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
83349b03, 95e6c4f
Parents:
196a1439
Message:

It currently makes more sense to just dump stack traces to klog, instead of a file. This makes is easier to look at quickly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/taskmon/taskmon.c

    r196a1439 rf0bdfb7  
    7272        printf(NAME ": Task %lld fault in thread 0x%lx.\n", taskid, thread);
    7373
    74         argv[0] = fname = "/app/redir";
     74#ifdef CONFIG_VERBOSE_DUMPS
     75        argv[0] = "/app/redir";
    7576        argv[1] = "-i";
    7677        argv[2] = "/readme";
     
    7879        argv[4] = dump_fname;
    7980        argv[5] = "--";
    80 
    81 #ifdef CONFIG_VERBOSE_DUMPS
    8281        argv[6] = "/app/taskdump";
    8382        argv[7] = "-m";
     
    8685        argv[10] = NULL;
    8786#else
    88         argv[6] = "/app/taskdump";
    89         argv[7] = "-t";
    90         argv[8] = s_taskid;
    91         argv[9] = NULL;
     87        argv[0] = "/app/taskdump";
     88        argv[1] = "-t";
     89        argv[2] = s_taskid;
     90        argv[3] = NULL;
    9291#endif
     92        fname = argv[0];
     93
    9394        printf(NAME ": Executing");
    9495        s = argv;
Note: See TracChangeset for help on using the changeset viewer.