summaryrefslogtreecommitdiff
path: root/staging/cli_cmds.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-23 14:39:48 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-23 14:44:06 +0200
commit98ea1cffdab73c69d69bf0f9a464bd0ef6e16dd3 (patch)
tree57842cf21ca46cda3307edd947db58f2814aa915 /staging/cli_cmds.c
parentfea42c5091f45a8e6189614be50db88b029df7fc (diff)
flowtop: Store basename of cmdline in struct flow_entry
The cmdline entry of struct flow_entry is only used to display the process name using basename() in presenter_screen_do_line(). Instead of calling basename() everytime just call it once when we read the cmdline proc entry and store the basename in struct flow_entry. Also rename the struct member accordingly. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli_cmds.c')
0 files changed, 0 insertions, 0 deletions