Commit 932c82e1 authored by Jean-Paul Saman's avatar Jean-Paul Saman

examples/dump_pids.c: also print hex value of PID.

parent 8cd1c49f
...@@ -49,7 +49,7 @@ int main(int argc, char *argv[]) ...@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
uint32_t pid = ts_getpid(&p[0]); uint32_t pid = ts_getpid(&p[0]);
uint32_t cc = ts_getcc(&p[0]); uint32_t cc = ts_getcc(&p[0]);
n++; n++;
printf("packet %ld, pid %u, cc %d\n", n, pid, cc ); printf("packet %ld, pid %u (0x%x), cc %d\n", n, pid, pid, cc );
} }
close(file); close(file);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment