Skip to content

Commit ae84c34

Browse files
fengchengwendavid-marchand
authored andcommitted
app/procinfo: use core lists rather than masks
When launching proc-info: EAL: '-c <coremask>' option is deprecated, and will be removed in a future release EAL: Use '-l <corelist>' or '--lcores=<corelist>' option instead This commit fixes it by use -l0 other than -c1. Fixes: ce5a6fa ("eal: deprecate coremask-based EAL parameters") Signed-off-by: Chengwen Feng <[email protected]> Acked-by: Bruce Richardson <[email protected]>
1 parent 8c4861d commit ae84c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/proc-info/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2121,7 +2121,7 @@ main(int argc, char **argv)
21212121
{
21222122
int ret;
21232123
int i;
2124-
char c_flag[] = "-c1";
2124+
char c_flag[] = "-l0";
21252125
char n_flag[] = "-n4";
21262126
char mp_flag[] = "--proc-type=secondary";
21272127
char log_flag[] = "--log-level=6";

0 commit comments

Comments
 (0)