mirror of
https://github.com/prirun/p50em.git
synced 2026-01-16 16:17:57 +00:00
Allow tracing 3-digit user numbers vs 2. System processes sometimes
have high user numbers.
This commit is contained in:
parent
459873ff90
commit
05251fbcce
2
em.c
2
em.c
@ -4640,7 +4640,7 @@ main (int argc, char **argv) {
|
||||
setlinebuf(gvp->tracefile);
|
||||
else if (strcmp(argv[i],"tlb") == 0)
|
||||
gvp->traceflags |= T_TLB;
|
||||
else if (isdigit(argv[i][0]) && strlen(argv[i]) <= 2 && sscanf(argv[i],"%d", &templ) == 1)
|
||||
else if (isdigit(argv[i][0]) && strlen(argv[i]) <= 3 && sscanf(argv[i],"%d", &templ) == 1)
|
||||
gvp->traceuser = 0100000 | (templ<<6); /* form OWNERL for user # */
|
||||
else if (isdigit(argv[i][0]) && sscanf(argv[i],"%d", &templ) == 1)
|
||||
gvp->traceinstcount = templ;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user